会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
孤独的程序员dis1500
知识就是希望
2017年12月27日
linux时间戳 转mysql datatime 插入bit
摘要: insert into tablename values(0,FROM_UNIXTIME(1514387127),'0') 插入bit insert into originalsignalrecord values(0,b'0',b'0')
阅读全文
posted @ 2017-12-27 23:06 lydstory
阅读(150)
评论(0)
推荐(0)
有符号无符号bit转换
摘要: int main(){ unsigned short i = 65434; short p = i; printf("%d", p); int sp; scanf_s("%d", &sp); return 0;}
阅读全文
posted @ 2017-12-27 16:07 lydstory
阅读(151)
评论(0)
推荐(0)
linux 包对齐
摘要: struct sendNak { }__attribute__((packed)); //位处理 获取包的时候 必须对齐 否则得到的数据不正确
阅读全文
posted @ 2017-12-27 14:41 lydstory
阅读(114)
评论(0)
推荐(0)
delegate委托
摘要: delegate<void (CClass*)> Starting;
阅读全文
posted @ 2017-12-27 09:26 lydstory
阅读(101)
评论(0)
推荐(0)
多服务多线程定时器多对话框协调前后台运行
摘要: 服务 线程 定时器 (前台 后台) 对话框 处理.. 程序是可以这么干的 vc程序下
阅读全文
posted @ 2017-12-27 09:21 lydstory
阅读(144)
评论(0)
推荐(0)
16位取高低字节
摘要: #define LOBYTE(w) ((BYTE)(((DWORD_PTR)(w)) & 0xff))#define HIBYTE(w) ((BYTE)((((DWORD_PTR)(w)) >> 8) & 0xff))
阅读全文
posted @ 2017-12-27 09:17 lydstory
阅读(504)
评论(0)
推荐(0)
邮槽
摘要: windows的一种单向通信方式
阅读全文
posted @ 2017-12-27 09:16 lydstory
阅读(89)
评论(0)
推荐(0)
继承于CStdioFile文件的clog类
摘要: 继承于CStdioFile文件的clog类
阅读全文
posted @ 2017-12-27 09:13 lydstory
阅读(118)
评论(0)
推荐(0)
LPT读写并口
摘要: LPT读写并口
阅读全文
posted @ 2017-12-27 09:12 lydstory
阅读(268)
评论(0)
推荐(0)
函数返回vector<>
摘要: typedef struct device_info{ }device_info_t; vector<device_info_t> 函数(); 获取vector函数参数
阅读全文
posted @ 2017-12-27 09:11 lydstory
阅读(193)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告