2021-08-29 00:02:47 +08:00

15 lines
372 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include<stdio.h>
#include"console.h"
int main()
{
clear_screen();//清屏幕内容
cusor_moveto(20, 4);//光标移到 第4行第20列
set_fg_color(COLOR_RED);//设置字体颜色为红色
printf("hello ,i love China!!!\n");
cusor_moveto(20, 2);//光标移到 第2行第20列
set_fg_color(COLOR_BLUE);//设置字体颜色为蓝色
printf("hello ,i love sunplusapp!!\n");
return 0;
}