Ok I have a data file that say looks like
xyzyyxyyzyzyxy
zxyzxyzxyzyxzyxzyxyzy
zxyzxyzyxyzxyzyxzyxyzxyzyxyzyx
yxzyxz
zxyzxyzyx
I want to read in each letter as a char and store it into a array
I want to do this for each line then do something with the array.
then read in the next line and repeat the process til end of file.
How can I make it read to the end of the line then stop
Or could I make an array say
int temp[255];
and while values are read into the array I could keep a count then I would know how many letters there are...but will this stop at the end of each line?
Sorry if this is convoluted thought ill try to clarify if you are lost