摘要: atrctfun.cpp 1 // 程序清单 7.12 atrctfun.cpp 2 // 坐标转换极坐标 3 #include <IOSTREAM> 4 #define _USE_MATH_DEFINES 5 #include <MATH.H> 6 7 struct rect // 点坐标结构 8 { 9 double x;10 double y;11 };12 13 struct polar // 极坐标结构14 {15 double distance; ... 阅读全文
posted @ 2013-02-27 17:12 kangels 阅读(668) 评论(0) 推荐(0) 编辑