最苦逼的程序猿-文章练字

来源:互联网 发布:淘宝黑卡什么意思 编辑:程序博客网 时间:2024/04/27 23:07

#include<dos.h>http://www.gkb120.net
#include<stdio.h>
#include<conio.h>
 xfk()
 {
 char *zq=" ture",*cu="flase",*fs="score";
 int i,j,hh=7;
 textcolor(YELLOW);
 gotoxy(3,6);
 cputs(zq);
 gotoxy(3,11);
 cputs(cu);
 gotoxy(3,16);
 cputs(fs);
 textcolor(GREEN);
 for(i=1;i<=3;i++)
  {http://www.gkb120.net
   gotoxy(3,hh);
   putch('\311');
   for(j=4;j<=7;j++)
    {
    gotoxy(j,hh);
    putch('\315');
    }
   gotoxy(8,hh);
   putch('\273');
   hh=hh+5;
  }
 hh=8;
 for(i=1;i<=3;i++)
  {
   gotoxy(3,hh);
   putch('\272');
   gotoxy(8,hh);
   putch('\272');
   hh=hh+5;
   }
 hh=9;
 for(i=1;i<=3;i++)
  {
   gotoxy(3,hh);
   putch('\310');
   for(j=4;j<=8;j++)
   {
    gotoxy(j,hh);
    putch('\315');
   }
   gotoxy(8,hh);
   putch('\274');
   hh=hh+5;
  }
textcolor(GREEN);
}

 http://www.gkb120.net


 wcbk()
 {
  int thh,tlh;
  textcolor(WHITE);
  thh=1;
  tlh=1;
  gotoxy(tlh,thh);
  putch('\332');
  for(tlh=2;tlh<=78;tlh++)
     {
      gotoxy(tlh,thh);
      putch('\304');
     }
  gotoxy(tlh,thh);
  putch('\277');
  tlh=1;
  for(thh=2;thh<=25;thh++)
    {
     gotoxy(tlh,thh);
     putch('\263');
     gotoxy(tlh+78,thh);
     putch('\263');
    }
  thh=25;
  gotoxy(tlh,thh);
  putch('\300');
  for(tlh=2;tlh<=78;tlh++)
    {
     gotoxy(tlh,thh);
     putch('\304');
    }
  gotoxy(tlh,thh);
  putch('\276');

0 0
原创粉丝点击