- #1
nicolegrace
- 5
- 0
Hi I am novice to programming and trying to read each character from file till white space [next line / space] and append symbols to the read characters.
example:
say I have string
how are you
doing sir
then I should read it into char buffer as
char buff = how#how$are#are$you#you$doing#doing$sir#sir$
Can someone help me with c++ code to it .Thank you so much
example:
say I have string
how are you
doing sir
then I should read it into char buffer as
char buff = how#how$are#are$you#you$doing#doing$sir#sir$
Can someone help me with c++ code to it .Thank you so much