编写test.cpp文件
#include <stdio.h>
int main() {
printf("Hello World!");
return 0;
}
cmd命令行执行
g++ test.cpp -o test
结果生成test.exe文件
说明安装没问题
编写test.cpp文件
#include <stdio.h>
int main() {
printf("Hello World!");
return 0;
}
cmd命令行执行
g++ test.cpp -o test
结果生成test.exe文件
说明安装没问题