Hello World
例行“hello world”的输出
C语言
#include <stdio.h>
int main(int argc, char * argv[])
{
printf("Hello World!!!\n");
return 0;
}
C
#include <iostream>
using namespace std;
int main(int argc, char * argv[])
{
cout << "Hello World!!!" << endl;
return 0;
}
python 2.x
print "Hello World!!!"
python 3.x
print("Hello World")