Firstly, I think you are talking about an IDE, not a compiler. As for which IDE, it depends. If you are on Windows, developing Windows applications, Visual Studio would be the best though though assuming you don't want to fork out the thousands of dollars for that, there is Visual C++ which is the free version. My personal favorite (at least at the moment) is Codelite, which is what I would recommend if you are not on Windows. For a beginner though, I think Code::Blocks or Visual Studio/C++ would be the best.
ThanXX for that reply .I was pretending that nobody would reply me..
hey now what is this "IDE" I don't know anything about it :-((
Many of my friends suggested me dev c++,is it really outdated?
IDE means integrated development environment. It's basically a program that keeps all your files together and makes sure everything gets compiled the right way, and makes the code look nice. A compiler just takes C++ source files and compiles them into object files. You could write your code in a plain text editor if you wanted.
If you go to college, check to see if your CS department has any deals where they get stuff for free. You might have to talk to professors (avoid administration :) ).
My school subscribes to a program that we, as students, can get free programs. It was intended mostly for us to get VS professional, but there are 100s of very expensive programs that we can download images of (Windows 7 included).
Yes, Dev-C++ is really outdated. Its compiler is a whole major version behind, and the last version they released was a beta. O_o
The compiler converts the source code into .exe files. The IDE... is like an editor just for programming. That's the best way I can think of putting it. :)
Visual Studio 2010 (Or Visual C++ 2010)'s compiler is the best and fastest for Windows. All other compilers are crap compared to it. (Except the intel compiler which is the elite of the elite).
There's no one compiler used by software professionals. Some use g++, some use cl (Microsoft's compiler), some use Intel's compiler, some use something different entirely. :)
ninad95: To answer your question as to what a compiler and IDE does: The compiler turns the C++ code, into an executable (.exe on Windows). The IDE has already been explained and it's really just a text editor with loads of features related to programming.