Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Windows 7 マシンにBloodshed Dev-C++コンパイラをインストールしました。コマンドラインからコンパイルするにはどうすればよいですか?
int main() { return 0; }
コンパイル:
g++ -Wall main.cpp -o main
MinGWのbinフォルダーはパス環境変数にある必要があり、g++ の場合、その使用方法に関するドキュメントが多数あります。私が知る限り、g++/MinGW と Linux の g++ との違いはないので、Linux のチュートリアルは Windows でも動作します。
bin