News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

New here: How to compile the C language using Code::Blocks

Started by mykhel01, November 23, 2010, 10:02:33 AM

Previous topic - Next topic

mykhel01

I have written a simple program in an Empty page in C language, but don't know what to do next. I have used before TCC as compiler, but my new prof prefer Code::Blocks

I have just downloaded the codeblocks-10.05mingw-setup.exe

MortenMacFly

Quote from: mykhel01 on November 23, 2010, 10:02:33 AM
I have written a simple program in an Empty page in C language, but don't know what to do next. I have used before TCC as compiler, but my new prof prefer Code::Blocks

I have just downloaded the codeblocks-10.05mingw-setup.exe
Install Code::Blocks, run the wizard to create yourself a C-Project (NOT C++!), paste the code into the "Hello World" file that got created, hit "build and run".
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

mykhel01

I just reset the compiler and debugger settings to defaults and is now running.. thnks btw  :P