Linux下编译cpp文件

1.生成a.out可执行文件

    g++ helloworld.cpp

  

 

2.生成helloworld.out文件

 g++ helloworld.cpp -o helloworld

 

3.执行xxx.out文件

   ./xxx.out

posted @ 2020-07-20 10:55  不知起什么名字  阅读(1172)  评论(0编辑  收藏  举报