Have no idea how to begin--can you give me resources to guide me or just start me in the right direction. I have a three sentence file in NOTEPAD and have to program it to print with a blank line between each line. Thanks for your help!
This is a discussion on text copying program help within the C++ Programming forums, part of the General Programming Boards category; Have no idea how to begin--can you give me resources to guide me or just start me in the right ...
Have no idea how to begin--can you give me resources to guide me or just start me in the right direction. I have a three sentence file in NOTEPAD and have to program it to print with a blank line between each line. Thanks for your help!
here's some psuedo code for you:
while not eof
{
while curString != '.' || '?'
{
file >> curString;
cout << curString << ' ';
}
cout << '\n\n';
}
have some fun....
here's some psuedo code for you:
have some fun....Code:while not eof { while curString != '.' || '?' { file >> curString; cout << curString << ' '; } cout << '\n\n'; }