⑴ 怎样在c语言程序的运行中隐藏光标
要用寄存器
使用的时候代码直接调用no_text_cursor()函数就可以了~
楼主自己看着办吧
#include<stdio.h>
#include<dos.h>
void no_text_cursor(void);
int main()
{
no_text_cursor();
printf("abc");
getch();
return 0;
}
void no_text_cursor(void)
{
union REGS r;
r.h.ah=1;
r.h.ch=32;
int86(0x10,&r,&r);
}
⑵ C语言EGE效果
ege有用透明方式绘制图片的函数,翻翻帮助文档,你能找到它的,你可以用一个变量标识透明度然后循环递增。多次重复绘制。实现动态的从隐到显的动态效果。