1.使用CString输出圆心坐标
//输出圆心坐标值
CString str1, str2, str3;
str3 = " ; ";
str1.Format(_T("1-%.2lf,%.2lf "), conter0.x, conter0.y);
str2.Format(_T("2-%.2lf,%.2lf"), conter1.x, conter1.y);
c_circle_center = str1 + str2;
e_circle_center.SetWindowTextA(c_circle_center);
(1条消息)MFC中CString.Format的详细用法 - yumodev - CSDN博客
https://blog.csdn.net/wangkaishou/article/details/5846152