Friday, July 31, 2009

Tutorial about turbo c++.?

e-books, complete manuals, fan site,

Tutorial about turbo c++.?
zOMFG! in which time period are you living? Turbo C++, that's like oooooooooold, please get rid of it, and try using the more recent compilers. it'll benifit you in writing more portable code. Use DJGPP or Microsoft C++, both of which use ISO standard header files. There is also an user interface called rhide in DJGPP which looks exactly like Turbo C++, they have a help file associated too.





Just so if you are not using those because you can't compile, it's because your using non-standard code. Here is a sample of a standard code.





#include%26lt;iostream%26gt;


using namespace std;


int main() {


cout%26lt;%26lt;"Hello, World!";


return 0;


}





Also, a friendly advice, don't use Conio.h or getch() jsut to halt your screen, it's a dangerous operation. Use


cin.get();





hope it' helps you.


No comments:

Post a Comment