⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 caption.c

📁 《C语言程序设计教程、实验与练习》 源文件下载
💻 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 + -