Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 C 语言的新手,但我将Gitpod用于其他语言。我想知道如何从Gitpod界面一步一步地运行这个简单的“hello world”main.c程序?
#include <studio.h> void main(){ printf("hello") }
非常感谢 !
修复错误后,您可以编译代码gcc main.c并运行二进制文件a.out。已经提到的错误:
gcc main.c
a.out
studio.h
stdio.h
...hello")
...hello");
在 printf("hello") 你应该放 ;
//like this printf("hello");
#include <stdio.h> int main(){ printf("hello"); return 0; }