![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
.net C
toto_2000061
这个作者很懒,什么都没留下…
展开
-
c#调用c++ dll 参数对应
<br />c++ dll 中方法:<br />int __stdcall Comm_Send(const data_Head struHead, const wchar_t* pTLV, const int nCount)<br /> <br />c#调用:<br />[DllImport("xxx.dll", EntryPoint = "xxx", CharSet = CharSet.Auto)]<br />public static extern int Comm_Send(data_Head str原创 2011-01-06 10:17:00 · 906 阅读 · 0 评论 -
C语言 float double解释和举例
int main() { float a = 12.5f; printf("%d\n", a);//0--其实转成了double printf("%d\n", (int)a);//12 printf("%d\n", *(int *)&a);//1095237632 return 0; } 符号位 阶码 尾数 长度 fl原创 2012-04-12 16:30:39 · 9859 阅读 · 0 评论