Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/75.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何完成C++;Google计算引擎程序 我尝试在谷歌计算引擎上编译VC++实例上的C++代码_C++_Compilation_Virtual Machine_Google Compute Engine - Fatal编程技术网

如何完成C++;Google计算引擎程序 我尝试在谷歌计算引擎上编译VC++实例上的C++代码

如何完成C++;Google计算引擎程序 我尝试在谷歌计算引擎上编译VC++实例上的C++代码,c++,compilation,virtual-machine,google-compute-engine,C++,Compilation,Virtual Machine,Google Compute Engine,g++-std=c++11 test.cpp-o输出 上面说 bash:g++:未找到命令 我找不到任何合适的资源。 < P>“SUDO APT安装安装基本”将在您的GMLY上安装最新版本的C++。我要做的另一个修改是“g++test.cpp-o output”将有助于运行。让我们知道进展如何 您可能希望从sudoapt-get-update&&sudoapt-get-install-y build-essential开始,假设使用Debian衍生系统。虽然与特定的云平台没有太大关系……但我的坏

g++-std=c++11 test.cpp-o输出

上面说 bash:g++:未找到命令


<>我找不到任何合适的资源。

< P>“SUDO APT安装安装基本”将在您的GMLY上安装最新版本的C++。我要做的另一个修改是“g++test.cpp-o output”将有助于运行。让我们知道进展如何

您可能希望从
sudoapt-get-update&&sudoapt-get-install-y build-essential
开始,假设使用Debian衍生系统。虽然与特定的云平台没有太大关系……但我的坏“sudo apt get install build essential”。我只是试着让它起作用