我目前正在运行g++版本4.3.4,当我运行以下命令时:
g++ -g -Wall test.cpp -o test.exe
对此:
#include<stdlib.h>
#include<iostream>
using namespace std;
int main (){
cout << "Hello World!";
system("pause");
return 0;
}
似乎什么都没有发生:Cygwin似乎滞后了一会儿,但没有exe创建(如果源中有错误cpp,则显示)
和想法?