Code is fixed.
Are you allowed to use functions besides just main() ?
Code is fixed.
Are you allowed to use functions besides just main() ?
I shouldn't see why i cant he never said anything about not using more than one function
I was thinking just rewind(filePointer), the filepointer, and use the same loop to put each line into the char array, same as before, and then send it out to a few functions for the various tests.
You could do it all in one BIG while loop, but that gets pretty messy.
Do you have a test string made up with all the changes needed to be made, yet?
That would be helpful to have, right off.
But it's getting late. Some sleep will help. I'm assuming you're in the USA time zones. Ignore my rantings if you're in Germany or someplace on the other side of the world.
no im in the uk, i havent got anything else sorted yet as i am still researching how to do the rest, i was just concentrating on the file open and copy as i dididnt want to get to confused