I am using atom editor for my C related works. But while compiling and running the C file using gpp compiler package, a filename.o file is created in the home directory. This is happening each time I am compiling and running my code. Is there any solution to this problem?
what to do to solve the following issue?
CodePudding user response:
The *.o file is the object file created by the compiler and used by the linker to create the *.exe file. Since it is unnecessary, you can delete it if you already have the *.exe file.
CodePudding user response:
You can delete *.o file instantly with -o /dev/null and after *.exe is created, *.o files are deleted automatically.
