美丽的透视图形- -| 回首页 | 2005年索引 | - -黄黑相间的矩形和圆

能移动的矩形- -

                                      

蓝底红色的矩形,在上边有一些黄色的字符。

include <conio.h>
main()
{
int i;
char *f[]={"Load    F3", "Pick  Alt-F3", "New    ", "Save    F2", "Write to    ", "Directory", "Change dir", "Os shee    ", "Quit Alt-X"};
char buf[9*14*2];
clrscr();
textcolor(YELLOW);
textbackground(BLUE);
clrscr();
gettext(10, 2, 24, 11, buf);
window(10, 2, 24, 11);
textbackground(RED);
textcolor(YELLOW);
clrscr();
for(i=0; i<9; i++) {
gotoxy(1, i++); cprintf("%s", f[i]); } getch();
movetext(10, 2, 24, 11, 40, 10); puttext(10, 2, 24, 11, buf); getch(); }

- 作者: 刘加开 2005年04月15日, 星期五 23:13 加入博采

Trackback

你可以使用这个链接引用该篇文章 http://publishblog.blogchina.com/blog/tb.b?diaryID=1208026

评论内容: