THANKS! I never even thought about it in that way :D
Type: Posts; User: Pe6r0
THANKS! I never even thought about it in that way :D
I did read it :D My plan is to make a program that searches throu the comments AND removes them. The searching part is easy since I already have the program searching for specific characters. My...
As I said I already disregarded the second fopen (it was suggested earlier) that line is now:
if(o==' ')
{
fwrite(input,1,1,tmp);
}
well I did do a fflush of the file between read and write but the end result was the same. I keep getting the stuff written at the end only :(
#include <stdio.h>
#include <stdlib.h>
#include...
thanks for all the input ppl! :D it helped a lot :D
hi, I'm doing a very simple program in which I want to remove comments from a .c file, so I started with something simple and tried to make a program that changed ' ' to a '.' except that I can't...