News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Compiling C code from command prompt

Started by shadowonder, July 21, 2009, 08:41:10 AM

Previous topic - Next topic

shadowonder

Is it possible to compile C files from the command prompt. The only software I have installed related to C is codeblocks and I figure they have a compiler I could use. Do I need to set up any environmental variables?

Thank you.

thomas

Yes, and yes. The compiler coming with Code::Blocks is MinGW, refer to their site for further information.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."