How to only read every 2nd line? Actually, look at this yourself...I cant use atof, we didn't learn it yet so its unallowed. Well, this works perfect...need some help ...
How to only read every 2nd line? Actually, look at this yourself...Okay, here's whats inside myData.txt: [i]Natalie 1.000 John 2.000 Bob 3.000[/i] I nee...
Simple opening a input fileGot it! To exit the fail state, we need to clear the ifstream by using inFile.clear() right before t...
Simple opening a input fileYes, my notes has something that says "use .clear when file fails to open"! So I was leaning towards...
Simple opening a input file[code]string fileName; ifstream inFile; cout << "What file do you want to gather data from? "; ...
This user does not accept Private Messages