📄 spr3.c
字号:
#include<stdlib.h>
#include<conio.h>
#include<math.h>
#include"svgacc.h"
#include<stdio.h>
void main()
{
int er;
char text[]="press a key...";
char buf[20];
whichvga();
res800();
er=pageactive(0);
fillpage(0);
drwstring(1,10,0,text,0,300);
sprintf(buf,"page 0");
drwstring(1,10,0,buf,0,0);
er=pageactive(1);
fillpage(0);
drwstring(1,12,0,text,0,300);
sprintf(buf,"page 1");
drwstring(1,12,0,buf,0,20);
er=pageactive(2);
fillpage(0);
drwstring(1,13,0,text,0,300);
sprintf(buf,"page 2");
drwstring(1,13,0,buf,0,40);
er=pageactive(0);
er=pagedisplay(0,0,0);
getch();
er=pagedisplay(0,0,1);
getch();
er=pagedisplay(0,0,2);
getch();
restext();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -