Tuesday, March 31, 2015

Code Blocks is not running or building any programs



If your Code blocks does not respond to the build and run button, may be the path of compiler's installation directory is not correct.
Open code blocks, go to Settings then Compiler and debugger... then Toolchain executables
Open C drive, go to Code blocks/MinGW/bin and copy the address.








Paste the address in the Compiler's installation directory of Toolchain executables. Try running the program.



What if program still did not run?


Code blocks gives output in the console. Go to file/new/project and select Console Application. Select the language you want to program in. Then run a program in the project. If  it still does not run or shows a dialogue box saying "it seems that the file has not been build yet" , try clicking on
 Auto-detect button inside the Toolchain executables.






   All the Best...