| hoity (8) | |
|
I want to take multiple line string in c++. How can I take this. Such as I want to take this as input: HELLO MY LOVE, I M HAPPY BECAUSE SOON I WILL BE TO YOUR SIDE. THIS TIME WITHOUT YOU HAS BEEN ETERNAL. I INVITE YOU TO THE ZOO ONE TO SEE THE ZEBRAS AND GORILAS. Please help how can I do this. | |
|
|
|
| Smac89 (195) | |||||||||
It would be something like this:
Something else...
or
C:
etc | |||||||||
|
Last edited on
|
|||||||||
| hoity (8) | |||||||
for this the program terminate when newline encounters but my input set has multiple lines
this code can do my job, it holds the characters into another array. third also does the same thing as the second
final one works almost same as the first , but this doesn't count space. By the way , I am using the second code , thank you :) | |||||||
|
|
|||||||