编译报错了,printf语句最后少了分号
#include<stdio.h> int main() { printf("1"); return 0; }
直接这么写就可以吧你建立的文件的格式好像也有些问题C语言用.c和.cpp文件写都可以