yes but not how to take in a literal sting line (not substring) of text from a .txt file. thats what I need to know.
Type: Posts; User: Tachyon22
yes but not how to take in a literal sting line (not substring) of text from a .txt file. thats what I need to know.
Seems simple enough. Just don't get it I guess. Thanks anyways guys. This assn is due in 18 minutes.
Makes since...but how do I make it read past the first line? What
is the code for that?
try putting it in your debug folder?
Sorry, I don't follow. I understand what your saying, just not how I should go about doing that. I'm really new to programming. Thanks Raigne
I tried what you suggested, to no avail. When entering "trash" there. The program exits with code "1". Tried having it read in the file again before the break also, and it has the same result as no...
It isn't stopping or crashing though. It just acts as if it can't read below the first line of the .txt file it's linked to
I updated the code slightly, and the only issue now is that the program reads in the list of names and if you type a name from rank 1, it outputs correctly. If you enter a boy or girl name from rank...
I guess nobody can figure out why this program just keeps asking me to enter another name?
I guess nobody can figure out why this program just keeps asking me to enter another name?
My program just keeps repeating try another name. I posted it yesterday, under "please help". Perhaps nobody can help.
I have an assignment for C++ beginners class. It specifies that my program must read in the names of .txt file. The program is called BabyNames and upon prompting the user to enter a name, it will...
I have an assignment for C++ beginners class. It specifies that my program must read in the names of .txt file. The program is called BabyNames and upon prompting the user to enter a name, it will...