Code::Blocks Forums

User forums => Help => Topic started by: nishatfarhan on February 01, 2009, 07:33:28 pm

Title: how to compile
Post by: nishatfarhan on February 01, 2009, 07:33:28 pm
hello friends i am new user of code::blocks.so can you tell me how can i compile C's source code in code blocks. i can't compile. can you please help me. tell me how to compile and run C's source code in code::block. i want to know one more thing can code::block convert C's source to .exe file. if not where can i find a .exe converter free?
Title: Re: how to compile
Post by: jtman54179 on February 01, 2009, 10:37:28 pm
Yeah, I had this problem also. Try to find the setup file you downloaded.
If it is called codeblocks-8.02-setup.exe, then you downloaded the version without a  compiler or debugger.
Try the version codeblocks-8.02.mingwsetup.exe, this was made with a compiler and debugger already included.

If you download that version and still dont see the program compiling go to Settings>> Compiler and Debugger>> Global Compiler Settings>> Other Settings and under compiler log select full  command line
That should show any errors in your program that prevent it from compiling

And the program automatically makes an .exe file in the same folder you saved your Source C file when you compile and run it.