I'm using turboc++ 4.0 and Visual studio 2013. I just started learning programming. when I write the code.
#include<iostream.h>
#include<conio.h>
int main()
{
cout<<"hello!";
getch();
return 0;
}
it works well in turbo, but visual stdio shows an error
fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory.
and when I use
using namespace std;
it shows another error about using getch();
.
Does every compiler have its own syntax?