C 练习实例56
C 语言教程
· 2019-02-22 07:57:50
题目:画图,学用circle画圆形。
程序分析:无。
// Created by www.codercto.com on 15/11/9. // Copyright © 2015年 码农教程. All rights reserved. //实例
#include <graphics.h> //VC6.0中是不能运行的,要在Turbo2.0/3.0中
int main()
{
int driver,mode,i;
float j=1,k=1;
driver=VGA;
mode=VGAHI;
initgraph(&driver,&mode,"");
setbkcolor(YELLOW);
for(i=0;i<=25;i++)
{
setcolor(8);
circle(310,250,k);
k=k+j;
j=j+0.3;
}
return 0;
}
点击查看所有 C 语言教程 文章: https://www.codercto.com/courses/l/17.html
The Joy of X
Niall Mansfield / UIT Cambridge Ltd. / 2010-7-1 / USD 14.95
Aimed at those new to the system seeking an overall understanding first, and written in a clear, uncomplicated style, this reprint of the much-cited 1993 classic describes the standard windowing syste......一起来看看 《The Joy of X》 这本书的介绍吧!