You are here:

C++/Different Compilers

Advertisement


Question
I don't understand what should be done while using different compilers for c++. I learned C++ in Turbo C++ IDE,  but now , as i try to test the codes from planetsourcecodes and use it in Dev C++, the codes simply donot run. What can i do to make the codes run on Dev C++?

Thanks.

Answer
> I learned C++ in Turbo C++ IDE

If you had based your learning on the DOS based Turbo C++ compiler which was released before the International Standard for C++, I'm afraid that much of what you learned would not be ISO C++.

I'd suggest that you use a recent release of the C++ compiler - these approximate the ISO standard for C++ quite closely. As far as I know, Dev C++ is no longer maintained. Since you are on a Windows platform, Code::Blocks would be a good choice.

Download link: http://prdownload.berlios.de/codeblocks/codeblocks-10.05mingw-setup.exe

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


vijayan

Expertise

my primary areas of interest are generic and template metaprogramming, STL, algorithms, design patterns and c++09. i would not answer questions about gui and web programming.

Experience

over 15 years

Education/Credentials
post graduate engineer

©2012 About.com, a part of The New York Times Company. All rights reserved.