Linux快速编译
Posted miracevin
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux快速编译相关的知识,希望对你有一定的参考价值。
#include<bits/stdc++.h> using namespace std; string name, tmp, s; int main() cin >> tmp ; s = "g++ " + tmp + ".cpp -Wall -O2 -std=c++11 -o " + tmp +".exe"; system(s.c_str()); return 0;
输入cpp的名称即可。
以上是关于Linux快速编译的主要内容,如果未能解决你的问题,请参考以下文章