cl, gcc 最简单用法

cl 源文件 /Fe可执行文件
比如 cl test.cpp /Fetest.exe编译test.cpp生成test.exe

gcc/g++ 源文件 -o 可执行文件
比如 g++ test.cpp -o test.exe编译test.cpp生成test.exe

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.