I'm using VC++ 6.0 (Standard I think). I actually got it to work though. I made else an else if before the cout to check if its the end of file.
cin.eol() would return true if it encountered a...
Type: Posts; User: melissa
I'm using VC++ 6.0 (Standard I think). I actually got it to work though. I made else an else if before the cout to check if its the end of file.
cin.eol() would return true if it encountered a...
This function displays to the screen the contents (words separated by spaces) of a text file. It gets a character and checks if it is a blank space. If it is, a newline is displayed. If not, the...