Codeblocks: How to Compile or Code and Run C / C++ Programs on Windows 7 or Windows 8
Many Universities still teach C Programming language as a part of curriculum as it helps students understand the basic concepts of programming. The tools used in university computer labs are turbo c++. But if you try running Turbo c++ on windows 7 or windows 8 it shows a smaller window. Altough there is a way to run these legacy programs in full screen using DOSbox but we will see a simple method to do so. It can be done by using codeblocks. Code::Blocks is a free C, C++ and Fortran IDE
Here is the process to get Codeblocks. Step 1 : Head to Codeblocks Website
Step 2: Select Download the Binary Release.
Step 3: Select Codeblocks mingw-setup.exe
Step 4: Open the Downloaded file and Install it.
Step 5: Open the CodeBlock IDE and Select Create new project
Step 6: In New form Template window Select Console Application
Step 6 : On the next Screen Select the language which you want to do program c or c++.
Step 7: Select the project location click next and select the compiler to use . In our case we are going to use GNU GCC Compiler
Next step is to write the program and Build and Run.
Hope this small tutorial helps you . Happy Codding.
Privacy & Cookies Policy
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.