-
strings
I am busy writing a program that takes in lines of text from 2 seperate files and writes them to a third if they are different, as of yet I have not been able to test my program, because my other comps down at the mo and this one's a borrowed one of a mate and its all USB ports, so RedHat 7.0 won't work
What i would like to know, as i am just trying to go through the program in my head thinking of instance that might cause probs.
If i am reading lines of text into a string that says bas a buffer lenght of 80, will i need to clear that sting before reading in the next line, because thinking it would still have the last string in.
how do i clear the string if this is the case.
thanks
-ali
-