该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

#include

#include

#include

main()

{

char c;

int i,j,k,l,m,n,o;

int x,y;

char c1;

int a,b,d,e;

x=35;

y=8;

textcolor(13);

gotoxy(35,10),cprintf("photoshop2014");

textcolor(11);

gotoxy(20,11);cprintf(" My name is zhou cheng qiang");

gotoxy(20,12);cprintf("I very like The C prograunmming language");

gotoxy(20,13);cprintf(" I think it*s very interting");

gotoxy(20,14);cprintf(" My QQ is 746511902");

gotoxy(20,15);cprintf(" I want have a lot of friends");

for(j=10;j>=0;j--)

{ textcolor(14);

gotoxy(60,20);cprintf("Please wait %ds ",j);

sleep(1);

}

clrscr();

gotoxy(1,10);

for(i=0;i<=50;i++)

{

delay(100);

gotoxy(i,10);

cprintf("%c",219);

gotoxy(i+2,10);

cprintf(" %c%d",37,i*2);

}

sleep(1);

clrscr();

textcolor(WHITE);

for(a=0;a<=53;a++)

{

gotoxy(21+a,3);cprintf("_");

}

for(a=0;a<=55;a++)

{

gotoxy(20+a,23);cprintf("_");

}

for(a=0;a<=19;a++)

{

gotoxy(20,4+a);cprintf("|");

}

for(a=0;a<=19;a++)

{

gotoxy(75,4+a);cprintf("|");

}

textcolor(11);

gotoxy(40,2),cprintf("photoshop2014");

textcolor(14);

gotoxy(1,3);cprintf("Use color:");

textcolor(10);

gotoxy(1,4),cprintf("1:LIGHTGREEN");

textcolor(11);

gotoxy(1,5),cprintf("2:LIGHTCYAN");

textcolor(12);

gotoxy(1,6),cprintf("3:LIGHTRED");

textcolor(13);

gotoxy(1,7);cprintf("4:LIGHTMAGENTA");

textcolor(14);

gotoxy(1,8);cprintf("5:YELLOW");

textcolor(15);

gotoxy(1,9);cprintf("6:WHITE");

textcolor(7);

gotoxy(1,10);cprintf("7:LIGHTGAY");

textcolor(4);

gotoxy(1,11);cprintf("8:RED");

textcolor(2);

gotoxy(1,12);cprintf("9:GREEN");

textcolor(14);

gotoxy(65,25);cprintf("Exit input Esc\n");

gotoxy(1,25);cprintf("\rClrscr input 0");

textcolor(15);

gotoxy(35,8);

for(;;)

{

lab:

if((x!=21&&x!=74)&&(y!=4&&y!=22))

{

c=getch();

if(c==72)

y--;

else if(c==80)

y++;

else if(c==75)

x--;

else if(c==77)

x++;

else if(c>=32&&c<=47||c>=97&&c<=126||c>=58&&c<=64)

cprintf("%c",c),x++;

else if(c>=65&&c<=71||c>=73&&c<=74||c>=78&&c<=79||c>=81&&c<96||c==76)

cprintf("%c",c),x++;

else if(c==13)

x=21,y++;

else if(c==8)

cprintf(" "),x--;

else if(c==49)

textcolor(10);

else if(c==50)

textcolor(11);

else if(c==51)

textcolor(12);

else if(c==52)

textcolor(13);

else if(c==53)

textcolor(14);

else if(c==54)

textcolor(15);

else if(c==55)

textcolor(7);

else if(c==56)

textcolor(4);

else if(c==57)

textcolor(2);

else if(c==48)

{

loop:

clrscr();

textcolor(11);

gotoxy(40,2),cprintf("photoshop2014");

textcolor(14);

gotoxy(1,3);cprintf("Use color:");

textcolor(10);

gotoxy(1,4),cprintf("1:LIGHTGREEN");

textcolor(11);

gotoxy(1,5),cprintf("2:LIGHTCYAN");

textcolor(12);

gotoxy(1,6),cprintf("3:LIGHTRED");

textcolor(13);

gotoxy(1,7);cprintf("4:LIGHTMAGENTA");

textcolor(14);

gotoxy(1,8);cprintf("5:YELLOW");

textcolor(15);

gotoxy(1,9);cprintf("6:WHITE");

textcolor(7);

gotoxy(1,10);cprintf("7:LIGHTGAY");

textcolor(4);

gotoxy(1,11);cprintf("8:RED");

textcolor(2);

gotoxy(1,12);cprintf("9:GREEN");

textcolor(14);

gotoxy(65,25);cprintf("Exit input Esc");

textcolor(WHITE);

for(a=0;a<=53;a++)

{

gotoxy(21+a,3);cprintf("_");

}

for(a=0;a<=55;a++)

{

gotoxy(20+a,23);cprintf("_");

}

for(a=0;a<=19;a++)

{

gotoxy(20,4+a);cprintf("|");

}

for(a=0;a<=19;a++)

{

gotoxy(75,4+a);cprintf("|");

}

}

else if(c==27)

{

textcolor(2);

gotoxy(35,10),cprintf("really Exit?Y or N:");

c1=getchar();

if(c1==121)

{

clrscr();

textcolor(LIGHTMAGENTA);

gotoxy(40,8);cprintf("Exiting");

for(k=0;k<=5;k++)

{

sleep(1);

cprintf(".");

}

sleep(1);

exit();

}

if(c1==110)

goto loop;

}

gotoxy(x,y);

}

else if(x==21)

x++;

else if(x==74)

x--;

else if(y==4)

y++;

else if(y==22)

{

y--;

}

goto lab;

}

}

C语言 printf 变色,【图片】(原创)用纯C变了个变色输出字符的程序。。。【c语言吧】_百度贴吧...相关推荐

  1. c语言 变色程序,【图片】(原创)用纯C变了个变色输出字符的程序。。。【c语言吧】_百度贴吧...

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 #include #include #include main() { char c; int i,j,k,l,m,n,o; int x,y; char ...

  2. c语言c1变成e并输出,【图片】(原创)用纯C变了个变色输出字符的程序。。。【c语言吧】_百度贴吧...

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 #include #include #include main() { char c; int i,j,k,l,m,n,o; int x,y; char ...

  3. c语言如何一直变换颜色,【图片】(原创)用纯C变了个变色输出字符的程序。。。【c语言吧】_百度贴吧...

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 #include #include #include main() { char c; int i,j,k,l,m,n,o; int x,y; char ...

  4. c语言编程变色,【图片】(原创)用纯C变了个变色输出字符的程序。。。【c语言吧】_百度贴吧...

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 #include #include #include main() { char c; int i,j,k,l,m,n,o; int x,y; char ...

  5. c语言课程设计贴吧,【图片】发几个C语言课程设计源代码(恭喜自己当上技术小吧主)【东华理工大学吧】_百度贴吧...

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 /*************************************************查询函数*********************** ...

  6. c语言仪器仪表课程设计,【图片】发几个C语言课程设计源代码(恭喜自己当上技术小吧主)【东华理工大学吧】_百度贴吧...

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 /*************************************************查询函数*********************** ...

  7. c语言课程设计 性别,【图片】发几个C语言课程设计源代码(恭喜自己当上技术小吧主)【东华理工大学吧】_百度贴吧...

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 /*************************************************查询函数*********************** ...

  8. 华水c语言课程设计,【图片】发几个C语言课程设计源代码(恭喜自己当上技术小吧主)【东华理工大学吧】_百度贴吧...

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 /*************************************************查询函数*********************** ...

  9. c语言课程设计模块结构图,【图片】发几个C语言课程设计源代码(恭喜自己当上技术小吧主)【东华理工大学吧】_百度贴吧...

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 /*************************************************查询函数*********************** ...

最新文章

  1. 从 12306 订购火车票 无需FQ
  2. Introduction for i-Teams
  3. Java入参关键字_Java基础17-成员变量、return关键字和多参方法
  4. elasticsearch基本查询三(英文分词)match查询
  5. iOS 12 真的能让旧款 iPhone 速度飞起吗?
  6. Ubuntu下安装Oracle Instant Client
  7. Html input file控件使用accept过滤 限制的文件类型
  8. python---之np.unique
  9. C#解析HL7协议数据2.X
  10. 麦子学院3天带你学会Apple Watch开发
  11. 【Sinclair/记录】Rainmeter在电脑桌面添加GIF
  12. 汇编rep movsb,rep stosb,repne scasb
  13. 前端作业(一)——我在《世纪佳缘注册页面》作业中遇到的问题
  14. 文献翻译--《Siamese Regression Tracking With Reinforced Template Updating》--增强模板更新的孪生回归跟踪,IEEE-2021
  15. Springboot实现热启动、热部署
  16. Linux内存手动清理释放方法
  17. 我经历过的失败产品和项目(四):没有落单的多媒体彩铃媒体服务器
  18. 有关于毕业论文提纲范文
  19. C++ std::ios::tie
  20. android app根目录下cache,Android 手机存储目录详解

热门文章

  1. 前端HTML弹窗的实现
  2. python 实现一个私人定制聊天室 贼溜
  3. vue3.0树形表格插件vue-table-with-tree-grid(vue.2.0)替换 vxe-table(vue3.0)
  4. 【转】 关于显著性检验,你想要的都在这儿了!!(基础篇)
  5. 插入排序及其稳定性介绍
  6. 论文教程之如何写教学类研究方法
  7. MT6771 MFNR
  8. MT6761/MT6762/MT6765处理器参数/原理图/参考设计资料
  9. Python 数字图片盲水印
  10. 机器学习之径向基神经网络