int a[10][10]代码

#include "stdio.h"
#include "graphics.h"
main()
{
int i,j,driver=VGA,mode=VGAHI;
initgraph(&driver,&mode,"");
setbkcolor(YELLOW);
for(i=50;i<=230;i+=20)
  for(j=50;j<=230;j++)
  putpixel(i,j,1);
for(j=50;j<=230;j+=20)
  for(i=50;i<=230;i++)
  putpixel(i,j,1);

}

-------------------------------------------------------------------------------------------------------------------------------------------------------


http://www.rznews.cn/yszx/stbk/5422029441.html
http://www.rznews.cn/yszx/stbk/5422045090.html
http://www.rznews.cn/yszx/stbk/5422037303.html
http://www.lfxww.com/2014/shichangshangxun/2014/0418/816963.html
http://www.rznews.cn/yszx/stbk/5420719775.html
http://www.zznews.cn/hyzx/jkxx/5412450621.html
http://www.zznews.cn/hyzx/jkxx/5412457102.html
http://www.zznews.cn/hyzx/jkxx/5412516932.html
http://www.changsha.cn/bj/yl/ylzx/2014/0418/567694.html
http://www.lfxww.com/2014/shichangshangxun/2014/0418/816907.html


http://www.lfxww.com/2014/shichangshangxun/2014/0418/815090.html
http://www.changsha.cn/bj/yl/ylzx/2014/0418/567694.html
http://www.qdxw.com.cn/yx/dwwf/2373086.html
http://www.zznews.cn/hyzx/jkxx/5416814917.html
http://www.rznews.cn/yszx/stbk/5414238298.html
http://www.zhiyin.cn/ylzx/gzpx/5404463844.html
http://www.lfxww.com/2014/shichangshangxun/2014/0418/815104.html
http://www.zznews.cn/hyzx/jkxx/5403900336.html
http://www.rznews.cn/yszx/stbk/5415563753.html
http://www.zznews.cn/hyzx/jkxx/5405337924.html
http://www.rznews.cn/yszx/stbk/5420719775.html
http://www.zznews.cn/hyzx/jkxx/5412433318.html
http://www.lfxww.com/2014/shichangshangxun/2014/0418/816907.html
http://www.zznews.cn/hyzx/jkxx/5412441195.html
http://www.zznews.cn/hyzx/jkxx/5412445456.html
http://www.zznews.cn/hyzx/jkxx/5412450621.html
http://www.lfxww.com/2014/shichangshangxun/2014/0418/816955.html
http://www.zznews.cn/hyzx/jkxx/5412457102.html
http://www.lfxww.com/2014/shichangshangxun/2014/0418/816963.html
http://www.zznews.cn/hyzx/jkxx/5412466489.html
http://www.lfxww.com/2014/shichangshangxun/2014/0418/816989.html
http://www.zznews.cn/hyzx/jkxx/5412516932.html
http://www.lfxww.com/2014/shichangshangxun/2014/0418/817007.html
http://www.zznews.cn/hyzx/jkxx/5413452649.html


-----------------------------------------------------------------------------------------------------------------------------------------------------
【程序63】
题目:画椭圆ellipse   
1.程序分析:
2.程序源代码:
#include "stdio.h"
#include "graphics.h"
#include "conio.h"
main()
{
int x=360,y=160,driver=VGA,mode=VGAHI;
int num=20,i;
int top,bottom;
initgraph(&driver,&mode,"");
top=y-30;
bottom=y-30;
for(i=0;i<num;i++)
{
ellipse(250,250,0,360,top,bottom);
top-=5;
bottom+=5;
}
getch();
}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值