I deleted my post because I came to realise it was a stupid question
I deleted my post because I came to realise it was a stupid question
Last edited by 9988776655; 01-03-2008 at 03:15 PM.
I don't think you need the second getchar() in your function, as fgets() actually removes the newline from the input buffer, so there should be no newline in the input buffer to "kill".
So what do you want to do once you have found the string to replace?
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Be Positive