资源简介

用c++模拟直线插补和圆弧插补实例三 http://blog.csdn.net/z893345329/article/details/25922857

资源截图

代码片段和文件信息

#include 
#include 
#include //调用绝对值函数
#include 
using namespace std;
void main()
{

int Nxyxeyex0y0xi=0yi=0FMF;
int xyFeshunrr=NULL;//rr为半径的平方
int a1a2b1b2;
int i=1;

initgraph(600600);

    //circle(320 240 50);        // 画圆
    line(5 595550 595);    // 画线 x轴
line(3 596550 596);    // 画线 x轴加粗
line(3 594550 594);    // 画线 x轴加粗
line(550 595535585);    // 画线 x轴方向
    line(5 50 5 595);    // 画线 y轴
line(4 50 4 596);    // 画线 y轴加粗
line(3 50 3 597);    // 画线 y轴加粗
line(5 50 15 65);    // 画线 y轴方向
//line(50 50 50 550);    // 画线
line(50 580 50 595);    // 画线 横坐标
line(100 580 100 595);    // 画线 横坐标
line(150 580 150 595);    // 画线 横坐标
line(200 580 200 595);    // 画线

评论

共有 条评论