会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
尽子轨
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2014年12月16日
错误 1 error C2440: “static_cast”: 无法从“void (__thiscall CTCPDlg::* )(WPARAM,LPARAM)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)” 解决问题
摘要: 出现这个问题一般都是从VC6.0 工程升迁到vs中出现的afx_msg void OnSocket(WPARAM wParam,LPARAM lParam);解决方法为afx_msg LPRESULT OnSocket(WPARAM wParam,LPARAM lParam);在对应的函数实现中也将...
阅读全文
posted @ 2014-12-16 13:00 尽子轨
阅读(2160)
评论(0)
推荐(0)
2014年12月10日
vc中的CString转string问题
摘要: 在unicode下:CString test="c++";string str=CT2A(test.GetBuffer(0));在非unicode下CString test="c++";string str=test.GetBuffer(0);
阅读全文
posted @ 2014-12-10 12:01 尽子轨
阅读(557)
评论(0)
推荐(0)
2014年12月7日
c++中的正则表达式
摘要: http://www.regexlab.com/
阅读全文
posted @ 2014-12-07 21:02 尽子轨
阅读(147)
评论(0)
推荐(0)
2014年11月30日
vc
摘要: http://blog.csdn.net/xbmoxia/article/category/2150411
阅读全文
posted @ 2014-11-30 20:43 尽子轨
阅读(103)
评论(0)
推荐(0)
2014年11月29日
C++中char*,String,int,CString间转换
摘要: 转http://www.aichengxu.com/view/207
阅读全文
posted @ 2014-11-29 13:17 尽子轨
阅读(104)
评论(0)
推荐(0)
2014年11月19日
获取本地MAC地址和多IP
摘要: 1 #include 2 #include 3 #include"iphlpapi.h" 4 #pragma comment(lib,"Iphlpapi.lib") 5 void Get_IP() 6 { 7 PIP_ADAPTER_INFO pAdapterInfo; 8 PIP...
阅读全文
posted @ 2014-11-19 21:04 尽子轨
阅读(290)
评论(0)
推荐(0)
2014年11月16日
子窗口
摘要: 使用下面两个函数来进行创建子窗口#includeWINDOW *subwin(WINDOW *parent,int num_of_lines,int num_of_cols,int start_y,int start_x);int delwin(WINDOW *window_to_delete); ...
阅读全文
posted @ 2014-11-16 17:42 尽子轨
阅读(244)
评论(0)
推荐(0)
linux记录键盘
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 static struct termios initial_settings,new_settings; 9 static int peek...
阅读全文
posted @ 2014-11-16 16:51 尽子轨
阅读(685)
评论(0)
推荐(0)
curses和窗口
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #define PW_LEN 256 7 #define NAME_LEN 256 8 int main() 9 { 10 initscr(); 11 ...
阅读全文
posted @ 2014-11-16 14:21 尽子轨
阅读(423)
评论(0)
推荐(0)
2014年11月14日
使用curses函数写的hello world 程序
摘要: 1 #include 2 #include 3 #include 4 #include 5 int main() 6 { 7 initscr(); 8 clear(); 9 move(5,15);10 printw("%s","hel...
阅读全文
posted @ 2014-11-14 14:09 尽子轨
阅读(239)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告