Dear All,
I have one txt file which contains a set of data, everyline has one data. How can I detect how many data inside?
Thank you
Dear All,
I have one txt file which contains a set of data, everyline has one data. How can I detect how many data inside?
Thank you
Likely you can read the file line by line. Lines will probably be seperated by the character '\n', write a loop to count how many of these your file has.
Demonographic rhinology is not the only possible outcome, but why take the chance
thank you.
I know this method, but I don't the code. Sorry, I am the new user of C/C++.
Do you know how to read a file? Look up fopen(), fclose() and fgets() if not.
Definition: Politics -- Latin, from
poly meaning many and
tics meaning blood sucking parasites
-- Tom Smothers