File Input, how to get number of items?
I have a file to input into one of my C++ programs. I can get input and all that, but I was wondering if it is possible to take the file and get the number of items (each item is seperated by whitespace) and put that into a variable. The variable and the data in the array is all of type int.
THank you.
|