As of the given below, you can see that the code is different from each other. Plus I want to add that you can use textcolor() in visual C++ or other compilers.
//for visual c++
#include<iostream>
int main()
{
std::cout<<"Hello World"<<std::endl;
}
and.
//for TurboC
#include<iostream.h>
void main()
{
cout<<"Hello World"<<endl;
}
and if you have any problem
//again for visual c++
#include<iostream>
using namespace std;
int main() //just discovered that you can add void in the bracket after the main
{
cout<<"Hello World"<<endl;
}