摘要: 参考文章http://blog.csdn.net/jadeflute/article/details/5684687但是这里面第一个方案我没有测试成功,第二个方案我感觉有点复杂。然后自己写啦一个:第一:c++ 方法的结构数组参数设置为指针,指向第一个元素的地址。定义结构体。typedef struct { float X; float Y;}Point_2F;extern "C" __declspec(dllexport) bool GetPoints(char *s,Point_2F *arr);for(int i=0;i<4;i++)//在方法体内赋值 ... 阅读全文
posted @ 2013-10-14 11:29 亲福 阅读(2763) 评论(0) 推荐(0) 编辑