📄 ex1.c
字号:
#include<stdio.h> //头文件
#include <reg51.h>
void main(void) //主函数
{
//初始化串口
char buf [] = "Good morning!"; //字符串
puts(buf); //输出字符串
puts("This is a test line"); //输出字符串常量
puts("This is another test line"); //输出字符串常量
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -