学任何编程语言都是从HelloWorld开始。
最近在学习C++,我也来写一个C++版的。
#include "pch.h" #include <iostream> using std::cout; using std::endl;
int main() {
cout << "Hello World!" << endl; return 0; }
/<iostream>
Visual Studio下面运行成功:
閱讀更多 zhangyiant 的文章
2019-02-19 22:45:50 zhangyiant
学任何编程语言都是从HelloWorld开始。
最近在学习C++,我也来写一个C++版的。
#include "pch.h" #include <iostream> using std::cout; using std::endl;
int main() {
cout << "Hello World!" << endl; return 0; }
/<iostream>
Visual Studio下面运行成功:
閱讀更多 zhangyiant 的文章