Computer Science Canada

Interacting with other files

Author:  Cancer Sol [ Tue Apr 23, 2013 6:50 pm ]
Post subject:  Interacting with other files

I wanted to do this question: http://dwite.org/questions/candy_piles.html
But I don't even know how to have the program interact with the text file, for example, look at what numbers are in DATA1.txt.
How do I have the program look at the content of the text file?

Author:  Insectoid [ Tue Apr 23, 2013 6:59 pm ]
Post subject:  RE:Interacting with other files

http://www.cplusplus.com/doc/tutorial/files/

Author:  Cancer Sol [ Tue Apr 23, 2013 7:33 pm ]
Post subject:  Re: RE:Interacting with other files

Insectoid @ 4/23/2013, 6:59 pm wrote:
http://www.cplusplus.com/doc/tutorial/files/

Thanks! Smile
I tried searching so many different things on google but the way I phrased it was incorrect I think.
That was what I was trying to find the whole time Razz
Again, thanks a lot!


: