install c in windows code example
Example 1: install c compiler windows
Step 1) Go to http://www.codeblocks.org/downloads and click Binary Release.
Step 2) Choose the installer with GCC Compiler, e.g., codeblocks-17.12mingw-setup.exe
which includes MinGW's GNU GCC compiler and GNU GDB debugger with Code::Blocks source files.
Step 3) Run the downloaded installer and accept the default options.
Step 4) Accept the Agreement
Step 5) Keep the component selection default and click Next.
Step 6) You may change the installation folder and click Next.
Step 7) To launch Code::Blocks double click on the icon.
Step 8) It will detect the gcc compiler automatically, set it as default.
Step 9) You will see the IDE Home screen.
Example 2: how to install c
For Turbo C++ (among other C compilers):
1. Download Turbo C++
2. Create turboc directory inside C drive and extract the tc3.zip
inside C:\turboc
3. Double click on install.exe file
4. Click on the tc application file located inside C:\TC\BIN
to write the C program