[已解决】deepin怎么编译C++源码
Tofloor
poster avatar
Emmmmmmmm
deepin
2019-02-10 05:03
Author
本帖最后由 Emmmmmmmm 于 2019-2-12 19:26 编辑

#includeusing namespace std;
void main()
{
    coul  << "deepin怎么编译C++源码.jpg" << \n;
    return 0;
}
Reply Favorite View the author
All Replies
avatar
jhkwei
deepin
2019-02-10 05:58
#1
g++  xxx.cpp
Reply View the author
avatar
199******27
deepin
2019-02-10 06:05
#2

Reply View the author
avatar
Emmmmmmmm
deepin
2019-02-10 09:07
#3
jhkwei 发表于 2019-2-9 21:58
g++  xxx.cpp

终端显示找不到g++这个操作我才来问的
Reply View the author
avatar
Emmmmmmmm
deepin
2019-02-10 09:08
#4
golp2000 发表于 2019-2-9 22:05

为什么我用不成g++?难道我装了个假deepin?
Reply View the author
avatar
deepinuser17
deepin
2019-02-10 09:19
#5
  1. 为什么我用不成g++?难道我装了个假deepin?
Copy the Code


你还没有安装g++. 安装g++很简单:
  1. sudo apt-get install g++
Copy the Code
Reply View the author
avatar
Amadeus
deepin
2019-02-10 19:50
#6
这些东西百度一下都有吧。deepin自带了gcc,g++和gdb需要自己手动安装。
Reply View the author