论c++“你好世界”的拼写方法

· · 个人记录

论c++“你好世界”的拼写方法

1.helloworld

#include<iostream>
using namespace std;
int main()
{
  cout<<"helloworld";
}

2.hello,world

#include<iostream>
using namespace std;
int main()
{
  cout<<"hello,world";
}

3.hello,world!

#include<iostream>
using namespace std;
int main()
{
  cout<<"hello,world!";
}

4.Helloworld

#include<iostream>
using namespace std;
int main()
{
  cout<<"Helloworld";
}

5.Hello,world

#include<iostream>
using namespace std;
int main()
{
  cout<<"Hello,world";
}

6.Hello,world!

#include<iostream>
using namespace std;
int main()
{
  cout<<"Hello,world!";
}