0

C++ not working the same way in my pc.

I tried some programs here in solo learn. I found them easy n was able to do many programs. Bt then i tried doing them in my pc. There i hav Turbo C++ installed. There it is showing many errors in the program that was running properly here. Here we need to include <iostream>, there it is accepting only <iostream.h>. And it is showing syntax error for 'using namespace std;'. Someone please help me out.

18th Jul 2017, 1:32 PM
Piyush
2 Respuestas
18th Jul 2017, 1:44 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
Turbo c++ is outdated. some organization (i dont know the name) set uniform language for all the c++ compiler. turbo c++ dont follow them. For eg- in turbo c++ they use iostream.h while we use just iostream. so it shows an error
18th Jul 2017, 3:37 PM
Ritik Pal
Ritik Pal - avatar