iCAx开思工具箱
标题:
求问,关于printf
[打印本页]
作者:
rafaleb01
时间:
2008-3-13 09:31
标题:
求问,关于printf
总是能看到printf()
printf()输出的内容如何能看到
大家看看我这个对不对啊?
UF_MODL_ask_curve_points(arc,ctol,atol,stol,
&numpts, &pts);
printf("The number of points are: %d\n",numpts);
for(i = 0; i < 3 * numpts; i++)
printf("The points are: %f\n",pts
);
char size[100];
UF_UI_open_listing_window();
for (i = 0; i <3 * numpts; i++)
{
sprintf(size,"%f",pts
);
UF_UI_write_listing_window(size);
UF_UI_write_listing_window("\n");
}
在windows写出来的内容和printf输出的内容一致吗?
我想 看到printf输出的内容怎样才能看到?怎么在能在dos下运行这个dll?
欢迎光临 iCAx开思工具箱 (https://t.icax.org/)
Powered by Discuz! X3.3