搜索资源列表
Nieuw-Rich-Text-document
- #include<graphics.h> #include<conio.h> main() { int gd = DETECT,gm,left=100,top=100,right=200,bottom=200,x= 300,y=150,radius=50 initgraph(&gd, &gm, C:\\TC\\BGI ) rectangle(left, top, right, bottom) circle(
Fractal-Code
- 程序在DOS下运行,需要包含<graphics.h>, <conio.h>, <cmath>头文件。绘图速度较慢,但精确度高,可进行任意位置的放大缩小。 算法是本程序的核心内容,一切的绘图都建立在这个基础之上。Julia, Mandelbrot, Newton三个绘图函数各有不同的算法,对于每一种情况要分类讨论。程序要进行放大、缩小,需要对程序中的每个点的计算加上一些参数,使放大缩小正确运行。 主函数包含print函数,print函数包含color系列