摘要: 转自:C# Struct结构体里数组长度的指定 1 2 3 4 5 6 7 8 9 10 typedef struct Point{ unsigned short x; unsigned short y; }mPoint;//点坐标 typedef struct Line{ mPoint p[2]; 阅读全文
posted @ 2016-10-26 10:37 遥望星空 阅读(3329) 评论(0) 推荐(1) 编辑
摘要: 1.C++中的时间:(1) time_t其实是一个64位的long int类型(2) time函数:函数简介: 函数名: time 头文件: time.h 函数原型:time_t time(time_t *timer) 功能: 获取当前的系统时间,返回的结果是一个time_t类型,其实就是一个大整数 阅读全文
posted @ 2016-10-26 10:20 遥望星空 阅读(3038) 评论(0) 推荐(0) 编辑
摘要: Windows Data Type .NET Data Type BOOL, BOOLEAN Boolean or Int32 BSTR String BYTE Byte CHAR Char DOUBLE Double DWORD Int32 or UInt32 FLOAT Single HANDL 阅读全文
posted @ 2016-10-26 10:19 遥望星空 阅读(34012) 评论(2) 推荐(5) 编辑
摘要: 转自:http://blog.chinaunix.net/uid-215617-id-2213082.html Some of the C# code I've been writing recently communicates via TCP/IP with legacy C++ applica 阅读全文
posted @ 2016-10-26 10:10 遥望星空 阅读(8518) 评论(1) 推荐(1) 编辑