I wrote a program that deletes the TDS EXE and OBJ of a file.
(I do this because I compile so many programs and I delete them
and keep only the .C or .CPP files)
so I wrote another program, called it DUMP. It takes command
line args. For example, if i want to delete all files (OBJ TDS EXE)
of DRAGONWAR.CPP, I will simply type DUMP DRAGONWAR
and it will delete OBJ TDS EXE of DRAGONWAR file.
Here's the code:
My problem is that this code is not always working. What could
main(int argc, char *argv)
char one = "DEL " ;
char two = "DEL ";
char three = "DEL ";
printf("%s\n%s\n%s\n", one, two, three);
the reason be?