?? caption.c
字號:
#include <stdio.h>
#include <conio.h>
#include <dos.h>
#include <string.h>
void main()
{
int i;
char caption[]="Are you ready?";
int right;
int x,len;
char ch;
clrscr();
_setcursortype(_NOCURSOR);
len=strlen(caption);
right=80-len;
textcolor(YELLOW);
gotoxy(1,12);
cprintf("%s",caption);
for(x=2;x<=right;x++)
{
gotoxy(x,12);
cprintf("%s",caption);
gotoxy(x-1,12);
cprintf(" ");
delay(100-x);
}
//add your codes down here
//add you codes up here
_setcursortype(_NORMALCURSOR);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -