User forums > Using Code::Blocks

only .exe and .c file

(1/1)

davidinho:
Hi, I'm a student and so I do only simple programs, I've seen that when I compile a program, Code::Blocks create a large amount of file, is possibile to create only .exe and .c file?

Sorry for my english but I'm not British


P.S.: I'm talking about Windows

oBFusCATed:
No, why do you bother?

If you really want to have no "garbage" files, compile your code from the command line.

MortenMacFly:

--- Quote from: oBFusCATed on January 18, 2012, 12:54:18 pm ---If you really want to have no "garbage" files, compile your code from the command line.

--- End quote ---
...alternatively put the path for the object files and the path for the project files to somewhere, where it doesn't hurt you.

davidinho:
ok, another question:
if I want create a lot of little programs, I must do different project for any program?

oBFusCATed:
If you want to debug them or if you want to have multiple .c files per program: yes.
If you want just to test some stuff you can compile single files into programs using the default compiler.
I've heart this feature works, but you lose the ability to debug the programs.

Navigation

[0] Message Index

Go to full version