Linux下C++的Helloword

来源:互联网 发布:淘宝自动刷单软件 编辑:程序博客网 时间:2024/05/29 19:03

编写c程序

1.  进入linux环境

2.  编写linux的hello程序

3.  编译文件,生成可执行文件

4.  执行程序,查看效果



编写C++程序

1.编写C++,必须以.cpp结尾


2.编译c++ ,必须用g++进行编译,而不能用gcc进行编译

3.执行





0 0