Will the code I type in the turbo C++ compiler and Dev c++ compiler differ?
It is very likely. Turbo C++ is an offshoot from the old Borland IDE and quite often you would use proprietary libraries, especially in Windows programming. Any code that contains references to those private libraries will not translate to any other ide. However, if everything you programmed was pure C++ then your code should transfer.
It is worth noting, TurboC++ is rather outdated.
No. the thing is i have just started learning C and the book i have has written it with reference to turbo C/C++. As i have windows 7 , it was difficult to install turbo C so i installed Dev C++ . just confirming if the codes will be the same?
If you are learning C and the sample code is raw C then you are good. If you are learning C++ you will want to check the calls in the code with the calls from the Dev library.
Yea its raw C
In most cases you should be fine. There are many free compilers for C that you can use but most are not an IDE such as those you are using, however it is a good way to stay out of trouble.
thanks a lot was just worried. lost my head trying to install turbo C on windows 7 by installing stuffs like Dos emulator and all , dev c seemed much simpler :) Will get back to you if i get stuck somewhere :) Thanks..
Good luck. :)
isn't dev c++ outdated too?:
Yes, if you want a windows IDE that is free then I would suggest looking at MS Visual express. http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express
but what is the differnce in the ide's?
and what does outdated actually mean? i mean they will compile the same code i put in right?
@eSpeX umm^
The differences in the IDE can be subtle and really comes down to how it feels when you are using it. As for outdated, so long as you are programming in raw C there should be no issues. If however, doing more complex programming where you began to rely more on the built-in Turbo C++ or Dev C++ libraries you could develop habits and reliance on methods that do not translate to other like environments. Bottom line, entry level programming in C should have no problem compiling on any C compiler. Entry level C++ code may have issues on other compilers and the more complex the program the more likely you will find the code you write does not compile in different compilers. Just be careful of the library you are including.
Join our real-time social learning platform and learn together with your friends!