Author Topic: New here: How to compile the C language using Code::Blocks  (Read 20029 times)

Offline mykhel01

  • Single posting newcomer
  • *
  • Posts: 2
New here: How to compile the C language using Code::Blocks
« 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: New here: How to compile the C language using Code::Blocks
« Reply #1 on: November 23, 2010, 10:09:16 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline mykhel01

  • Single posting newcomer
  • *
  • Posts: 2
Re: New here: How to compile the C language using Code::Blocks
« Reply #2 on: November 23, 2010, 10:33:54 am »
I just reset the compiler and debugger settings to defaults and is now running.. thnks btw  :P