📄 hello.c
字号:
/* comments go in here */// or after this on a line// ; terminates a line of code#include <stdio.h>/* stdio.h is the file that knows about the printf function #include is the command to include it in this program */int main () // main is a function which returns an integer{ // start the function code printf("Hello!"); // prints Hello to the screen printf("my darling \n"); // prints words and a new line printf("Buttercup"); return 0; // the function must return an integer. // 0 says program has succeeded} // end of the function code
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -