Hi!
How do I take a whole sentence from a datafile and store it as one varialbe? I tired using quotes ..but it does not work . tHanks!
Hi!
How do I take a whole sentence from a datafile and store it as one varialbe? I tired using quotes ..but it does not work . tHanks!
IN.getline(array, 256, '\n');
That will read in one line of data from the file, assuming that IN is a file pointer and the sentence is no greater than 256 characters. The read will stop at either a newline or when it's read a maximum of 256.
-Prelude
My best code is written with the delete key.