摘要:
出现这个问题一般都是从VC6.0 工程升迁到vs中出现的afx_msg void OnSocket(WPARAM wParam,LPARAM lParam);解决方法为afx_msg LPRESULT OnSocket(WPARAM wParam,LPARAM lParam);在对应的函数实现中也将... 阅读全文
摘要:
在unicode下:CString test="c++";string str=CT2A(test.GetBuffer(0));在非unicode下CString test="c++";string str=test.GetBuffer(0); 阅读全文
摘要:
http://www.regexlab.com/ 阅读全文
摘要:
http://blog.csdn.net/xbmoxia/article/category/2150411 阅读全文
摘要:
转http://www.aichengxu.com/view/207 阅读全文
摘要:
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... 阅读全文
摘要:
使用下面两个函数来进行创建子窗口#includeWINDOW *subwin(WINDOW *parent,int num_of_lines,int num_of_cols,int start_y,int start_x);int delwin(WINDOW *window_to_delete); ... 阅读全文
摘要:
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... 阅读全文
摘要:
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 ... 阅读全文
摘要:
1 #include 2 #include 3 #include 4 #include 5 int main() 6 { 7 initscr(); 8 clear(); 9 move(5,15);10 printw("%s","hel... 阅读全文