Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
simple and basic c++ question
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="mail, post: 1517709"] Open the file read it in write it out Simple steps Use While(infile) to read data in until EOF marker remember that using cin stops at white spaces so this gives you word breaks - yeh! Have a counter that counts words and increment it when you get to a whitespace. If you can count the words you only need a loop to cout them using another counter [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
simple and basic c++ question
Top