小弟剛才寫了一個最簡單的 C++ 程式 try1.cpp
附上程式碼
#include <iostream>
using namespace std;
int main()
{
cout << "Hello Linux!" << endl;
system("pause");
return 0;
}
然後 gcc -c try1.cpp
出現
gcc: error running to exec 'cc1plus': execvp: No such file or directory
請問是發生什麼事情了 O.O"
--
附上程式碼
#include <iostream>
using namespace std;
int main()
{
cout << "Hello Linux!" << endl;
system("pause");
return 0;
}
然後 gcc -c try1.cpp
出現
gcc: error running to exec 'cc1plus': execvp: No such file or directory
請問是發生什麼事情了 O.O"
--
All Comments