
C/C++
Cricketol
total lol
展开
-
自己写USB Joystick驱动
USB Joystick Input HID linux 游戏手柄 北通 驱动原创 2010-10-06 22:02:00 · 10945 阅读 · 6 评论 -
FILD和FSTP转换成C语言
int i = 12345678;double db; __asm{MOV DWORD PTR [EDI], EAX FILD DWORD PTR [EDI] LEA EDI, db FSTP QWORD PTR DS:[EDI]} 以上代码等价于下面的代码:int i = 12345678;double db; db =原创 2011-06-25 18:53:00 · 1025 阅读 · 0 评论 -
defining int64
#if defined(_MSC_VER) || defined(__BORLANDC__)typedef unsigned __int64 ulong64;typedef signed __int64 long64;#elsetypedef unsigned long long ulong64;typedef signed long long long64;#endif It works转载 2011-06-25 18:47:00 · 997 阅读 · 0 评论