参见英文答案 >
Is it possible to get gcc to read from a pipe?2
> Compiling C++-code without a file5个
代码很简单:
> Compiling C++-code without a file5个
代码很简单:
test$cat test.cpp int main() { }
我试过这个:
cat test.cpp | g++ -
和一些变化,但没有一个可执行.