Compiling a program in C with Dev C++ on Vista
Compiling a C source code under Vista with Dev C++, can be a quite difficult procedure.
Quick solution: the g++ compiler
To be used with Dev-PSV:
Go to Tools/compiler options and then click on the Programs tab.
Replace gcc.exe found in the first case with g++.exe
Recommended solution
The use of g++ to compile a C code is not necessarily the most appropriate method. Here below you shall find the most suitable way:
Download the CodeBlocks:
http://www.codeblocks.org/downloads.
Have Mingw download and install it.
Download the following file from and uncompress it in C:\mingw.
http//www.dessent.net/tmp/gcc-vista-3.4.5-20060117-1.tar.gz
Install CodeBlocks
CodeBlocks will automatically find Gcc