
Otherwise, choose based on the language you are learning. You’ll be asked to choose whether you want to use C or C++. Click 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: Code::Blocks may ask if you want to associate it as the default viewer for C/C++ files–I’d suggest you do. When you get the compiler auto-detection window, just hit OK. You will be prompted with a Compilers auto-detection window: Other setup tutorials will assume you have installed in C:Program FilesCodeBlocks (the default install location), but you may install elsewhere if you like (The name as of this 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”.

This tutorial gives you easy-to-follow instructions, with screenshots, for setting up a compiler (the MINGW compiler), a tool that will let you turn the code that you write into programs, and Code::Blocks, a free development environment for C and C++. How To Install and Get Started CodeBlocks for C/C++ Programming? This Tool supports multiple compilers, including GCC, MinGW, Digital Mars, Microsoft Visual C++, Borland C++, LLVM Clang, Watcom, LCC, and the Intel C++ compiler. It is a highly changeable IDE that performs consistently across all the platforms so it is really great for developers who frequently switch their working area from one platform to another. Code::Blocks is one of the popular Open Source IDE options available for developers working on PC.
