VC
ppdouble
这个作者很懒,什么都没留下…
展开
-
ListBox_MultiColumn
Use the LB_SETTABSTOPS message and then send the ListBox strings with tab stops (\t) in them, like this... #include "windows.h" #include "windowsx.h" HWND hList = // get a ListBox hand转载 2014-04-16 23:13:59 · 1997 阅读 · 0 评论 -
C_WINAPI学习笔记
打开对话框 HINSTANCE hInstance = (HINSTANCE)GetWindowLong(hwnd, GWL_HINSTANCE); DialogBox(hInstance, MAKEINTRESOURCE(IDD_DIALOG_MAIN), NULL, Main_Proc);原创 2014-02-16 09:55:20 · 1164 阅读 · 0 评论 -
程序中执行shell命令
python import os os.system("ls")原创 2014-03-11 11:02:29 · 752 阅读 · 0 评论 -
字符串处理笔记-查找指定字符在字符串中的位置
Python 查找指定字符的位置 index 和 find http://stackoverflow.com/questions/2294493/how-to-get-the-position-of-a-character-in-python原创 2014-06-24 16:29:26 · 1214 阅读 · 0 评论 -
字符串处理笔记-获得字符串长度
Shell 获得str的长度 ${#str} 从pos开始截取l个,不包含pos位置 ${str:pos:l} 从pos开始截取l个字符,包含pos位置 expr substr "$str" 2 $l 忽略特殊字符 使用 ' ' rm -rf 'fo o' 忽略了空格原创 2014-06-26 13:57:10 · 727 阅读 · 0 评论 -
字符串处理笔记-截取字符串
Python Windows 7 >>> s="中国路13号弄" >>> s.find("号") 8 MAC OSX10.9.2 >>> s="中国路13号弄" >>> s.find("号") 11原创 2014-06-24 16:39:13 · 770 阅读 · 0 评论