I am writting to a file using cin and whenever i type a space to seperate two characters or strings it stops reading in into my file.
e.g if i write a boy is a man,My file only stores the a
This is a discussion on writting to files within the C++ Programming forums, part of the General Programming Boards category; I am writting to a file using cin and whenever i type a space to seperate two characters or strings ...
I am writting to a file using cin and whenever i type a space to seperate two characters or strings it stops reading in into my file.
e.g if i write a boy is a man,My file only stores the a
How did you manage to write to a file using cin ? It is for console input.
Paste your code here, we are not mind readers ~!
Manasij Mukherjee | gcc-4.8.0 @Arch Linux
Slow and Steady wins the race... if and only if :
1.None of the other participants are fast and steady.
2.The fast and unsteady suddenly falls asleep while running !