Cpp class exercise 1:修订间差异
→Hello World
第12行: | 第12行: | ||
== Hello World == | == Hello World == | ||
<syntaxhighlight lang="C++" line> | |||
#include <iostream> | |||
using namespace std; | |||
int main() | |||
{ | |||
cout << "Hello, World!" <<endl; | |||
return 0; | |||
} | |||
</syntaxhighlight> | |||
== 四则运算题 == | == 四则运算题 == |