-1
如何解決此問題?我在服務器上使用終端,當我嘗試運行時,它給了我這個編譯器錯誤。Mac:服務器上的終端編譯器錯誤
flip2 ~/Assignment3 8% g++ characters.cpp In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/random:35, from characters.cpp:3: /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/c++0x_warning.h:31:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.