首页  

c++ hello     所属分类 c 浏览量 698

#include <iostream>
using namespace std;
int main()
{
    cout << "hello" << endl;
    return 0;
}

#include  预处理器指令
iostream中包含输入输出函数
using namespace std;
引入 标准命名空间

不引入的话
std::cout << "hello" << std::endl;


g++ -o hello hello.cpp

上一篇     下一篇
java类静态初始化问题

影响商业的50本书第36到42本

c语言hello

在线画图工具 Shapefly

lua table 排序

lua for 循环