How do i compile a code on Codeblock or Visual c++ 2005 express edition? The compiler button on codeblock is always grey and i can't click on it and i can't find it on Visual c++ 2005.
Printable View
How do i compile a code on Codeblock or Visual c++ 2005 express edition? The compiler button on codeblock is always grey and i can't click on it and i can't find it on Visual c++ 2005.
I dont belive Visual C++ 2005 express edition compiles because it is free but there is a way save your project and go to the folder you saved it in and look for a folder in your project folder called debug then search the other folders you should come across your program
Did you download Code::Blocks with the compiler?
I think i downloaded the 1 with mingw compiler
of course it compiles, wouldn't be much use if it didn't.Quote:
Originally Posted by cookie12
click on Build menu then build solution or you could press f7
IDE's normally need to be configured in some way to tell them where the various compilers are installed.
oh i thought it didnt stupid me
Actually, if you have "certain" compilers install, when you install codeblocks, it does automatically configure for that compiler. Mingw is one as is MS toolkit compilerQuote:
Originally Posted by cookie12
It might be because of the bug with codeblocks...
you have to create a project in order for the compile button to work...
thank you arjunajay
how do i get rid of the "Press any key to continue..." at the end?
> how do i get rid of the "Press any key to continue..." at the end?
There's just no pleasing some people :p
With other IDE's people complain that their screen windows disappear in an instant, so we tell them to read the FAQ on how to wait for a key press....
You can run your program from the command prompt.