C++版Hello World

代码

#include <iostream>
using namespace std;

int main() {
    cout << "hello world!" << endl; //endl 是换行,与使用'\n'作用一样
return 0; }

开头那两句代码 暂时先记住吧

#include <iostream>
using namespace std;
posted @ 2018-02-11 15:12  一菲聪天  阅读(198)  评论(0)    收藏  举报