I\'m a beginner in c++. So I want to print a subword, after inputting my symbol. For example like this.
I want input abcdefghijk d
abcdefghijk d
And get efg
efg