DIGIT-ARC read-only archive · snapshot: July 23, 2026

c++ compiler for windows 7

14 posts · originally from https://geek.digit.in/community/threads/c-compiler-for-windows-7.140643/

C
chinkal Original post #1
May 11, 2011 at 10:25 PM
does any1 out thr knw any c++ compiler dat wrks wid windows 7 ... pls suggest...
Garbage
Garbage #2
May 11, 2011 at 10:52 PM
Bloodshed Software - Dev-C++
Liverpool_fan
May 11, 2011 at 11:06 PM
MinGW + Geany
Ah yeah do read the stickies, stickies are meant for reading :p
*www.thinkdigit.com/forum/programming/132924-c-c-beginners-guide-post-basic-questions-here.html
Neuron
Neuron #4
May 11, 2011 at 11:18 PM
I will recommend Visual C++ 2010 Express.Don't know about others,but VC++ marks almost all the errors in real time which you'll find really handy.
A
May 12, 2011 at 12:07 AM
use any compiler mingw through Dev-C++ or CodeBlocks, Microsoft Visual C++ 2010/2008/2005. But NEVER EVER USE THOSE DECADES OLD OUTDATED TURBO C/C++.
A
May 12, 2011 at 9:17 PM
Still if you like the old stuff..or for some reason have to work with the graphics.h(still usd in colleges) then u cn install dos emulator n the normal turbo c++ n use it inside dos emulator...it works in windows 7...else for a modern IDE go for netbeans with c++ plugin....also good for java!
nims11
nims11 #7
May 13, 2011 at 2:26 PM
Still if you like the old stuff..or for some reason have to work with the graphics.h(still usd in colleges) then u cn install dos emulator n the normal turbo c++ n use it inside dos emulator...it works in windows 7...else for a modern IDE go for netbeans with c++ plugin....also good for java!

if anyone needs graphics.h, it can still be used under minGW. all the functions are same.
WinBGIm - Borland BGI emulation for MingW
i use it quite often

and btw i don't suggest DEV-C++ as it is not up to date. i use codeblocks
C
chinkal #8
May 14, 2011 at 11:27 AM
Thnx evry1!!! n yeah i think dev c++ isnt up-to-mrk.......
nims11
nims11 #10
May 14, 2011 at 1:18 PM
its not bad but there are IDEs better than that.
A
akj_1989 #11
May 15, 2011 at 2:24 AM
Visual C++ is a very good compiler, though it takes up a lot of space...
C
chinkal #12
May 15, 2011 at 9:26 AM
May I know why? Because I think its pretty good.

i had it earlier nd it returned errors in a simple code of takn a value frm user and printing it on screen.... d error was sayn to use mre header files(i cant write d exact error as i hv uninstalled it)... the code i wrote was:--->

Code:
#include<iostream.h>
int main()
{
int x;
cin>>x;
cout<<"\n"<<x;
return(0);
}

Visual C++ is a very good compiler, though it takes up a lot of space...

i dwnloaded visual c++ bt em unable to open workspace...venevea i try to open it says d file name not found and please verify the path and file name are correct... i dunnoe whr am i gng wrng... do u hv ne idea abt dis prob??
nims11
nims11 #13
May 15, 2011 at 10:36 AM
i had it earlier nd it returned errors in a simple code of takn a value frm user and printing it on screen.... d error was sayn to use mre header files(i cant write d exact error as i hv uninstalled it)... the code i wrote was:--->

Code:
#include<iostream.h>
int main()
{
int x;
cin>>x;
cout<<"\n"<<x;
return(0);
}

this code worked with dev-cpp. still, latest version of g++ wont be able to compile it. the correct code should be-
Code:
#include<iostream>
using namespace std;
int main()
{
int x;
cin>>x;
cout<<"\n"<<x;
return 0;
}
Liverpool_fan
May 15, 2011 at 12:42 PM
May I know why? Because I think its pretty good.

Well problem with Dev C++ in a beginners perspective is that it doesn't trap the keyboard for user input and most new users are perplexed where is the output, and resort to hacks like system("PAUSE"), etc.
Also it's not been developed for a while.
Overall it's good but quite dated.