hello.c
来自「C源码集」· C语言 代码 · 共 19 行
C
19 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?