几个常用的linux下语言编译
c++编译
#include <iostream>
using namespace std;
int main() {
Hello h;
h.print();
return 0;
}
g++ 文件名.cpp -o 文件名
./文件名
c编译
#include<stdio.h>
int main()
{
printf("hello");
return 0;
}
gcc -o 文件名 文件名.c
./文件名
python编译
print“hhhh”;
python 文件名.py
浙公网安备 33010602011771号