Simple introduction

来源:互联网 发布:电信网络 不支持ipv6 编辑:程序博客网 时间:2024/06/05 17:00


/*-------------------------------------------------------*
 *Simple introduction                       *
 * /home/Simple introduction.doc   *
 * /home/Simple introduction.stm   *
 *---------------------------------------------------*/


#include<stdio.h>
#include<conio.h>
#include<string.h>
#include<graphics.h>
#include<stdlib.h>
#define FORMAT "/t%c%c%c%c %c%c%c%c%c %c%c%c%c%c%c%c%c%c%c%c/n"
#define NET2K 33
char kindy(void);
int main(void)
{
    int gdriver=DETECT,gmode ;
    registerbgidriver(EGAVGA_driver);
    initgraph(&gdriver,&gmode,"");
    setbkcolor(1);
    cleardevice();
    puts("(C) Net2k Corp./n/n");
    puts("");
    puts("/tSimple introduction/n");
    puts("===================================");
    puts("name:/tNet2k/Net2k'C");
    puts("age:/t19");
    puts("msn:/tnet2kever@hotmail.com");
    puts("home:/thttp://www.52chb.com");
    kindy();
    closegraph();
}
char kindy(void)
{
    char a=76,b=111,c=118,d=101,e=75,f=105,g=110,h=100,i=121,
    k=102,l=116,m=109,n=101 ;
    puts("/t---------------------------");
    printf(FORMAT,a,b,c,d,e,f,g,h,i,a,f,k,d,l,f,m,n,NET2K,NET2K,NET2K);
    puts("===================================");
    puts("/n/t......./t/t.......");
    puts("");
    puts("/t/t20004/9/6/Net2k");
    getc(stdin);
}

原创粉丝点击