标题:程序为什么执行后提示内存不能read啊(EasyX)
取消只看楼主
wyp19901226
Rank: 1
来 自:安徽
等 级:新手上路
帖 子:12
专家分:0
注 册:2012-1-28
结帖率:100%
 问题点数:0 回复次数:0 
程序为什么执行后提示内存不能read啊(EasyX)
#include<graphics.h>
#include<conio.h>


void main()
{
      int x=320;
      setcolor(YELLOW);
         setfillstyle(GREEN);
         fillellipse(x,240,20,20);


         char c;
         while(c!=27)
         {
              c=getch();
              setcolor(BLACK);
              setfillstyle(BLACK);
              fillellipse(x,240,20,20);

              switch(c)
              {
              case 'a': x-=2;break;
              case 'd':x+=2;break;
              case 27:break;
              }

              setcolor(YELLOW);
              setfillstyle(GREEN);
              fillellipse(x,240,20,20);
              Sleep(10);
         }

         closegraph();
}
搜索更多相关主题的帖子: include void 内存 
2012-01-30 22:00



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-360153-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.074362 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved