I'd recommend you put it in its own folder, as it may create (You can find tutorials here on both C and C++.)Īfter clicking "Next", Code::Blocks will then prompt you with where you'd like to save the console Otherwise, choose based on the language you are You'll be asked to choose whether you want to use C or C++. When you get the compiler auto-detection window, just hit OK.Ĭode::Blocks may ask if you want to associate it as the default viewer forĬlick on the File menu, and under "New", select "Project."Ĭlick on "Console Application" and hit the "Go" button.Ĭlick next until you get to the Language Selection Dialog: You will be prompted with a Compilers auto-detection window: Other setup tutorials will assume you have installed in C:\Program Files\CodeBlocks (the default install location), but you may install elsewhere if you like Writing was the 10.05 may be different). Look for the file that includes mingw in the name.Go to the Windows 2000 / XP / Vista / 7 section.Follow the link to "Download the binary release" ( direct link).
Note: if you're running Linux, go here to learn how to use GCC if you're on OS X, go here to get set up using Apple XCode. This tutorial explains how to install Code::Blocks on Windows 2000, XP, Vista or Windows 7. Write into programs, and Code::Blocks, a free development environment for C and C++. Setting up a compiler (the MINGW compiler), a tool that will let you
This tutorial gives you easy-to-follow instructions, with screenshots, for
Setting up Code::Blocks and MINGW, A Free C and C++ Compiler, on Windows