C学习笔记
codetown
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
GSM短信猫常用二次开发包使用实例
GSM短信猫开发包使用教程 //连接 typedef UINT (WINAPI *PFSMSCONN)(LPCTSTR,int,int,LPCTSTR*); //发送 typedef UINT (WINAPI *PFSMSSEND)(LPCTSTR,LPCTSTR); //接收 typedef UINT (WINAPI *PFSMSRECV)(LPCTSTR,LPCTSTR*); //删除原创 2012-11-14 18:34:41 · 2854 阅读 · 0 评论 -
API获取系统常用目录
BOOL GetSysPath(LPTSTR szDirPath,UNIT dirType) { LPITEMIDLIST ppidl = NULL; if (SHGetSpecialFolderLocation(NULL,dirType, &ppidl) == S_OK) { BOOL flag = SHGetPathFromIDList(ppidl, pszDirPath);原创 2013-03-20 10:23:13 · 1100 阅读 · 0 评论 -
WINDOW SDK API 窗口居中
RECT rc; GetWindowRect(hWnd,&rc);//获取窗口的矩形区域 int nWidth=rc.right-rc.left;//计算窗口宽度 int nHeight=rc.bottom-rc.top;//计算窗口高度 SystemParametersInfo(SPI_GETWORKAREA,NULL,&rc,NULL);//取出桌面工作区 SetWindowPos(原创 2013-04-09 16:21:27 · 999 阅读 · 0 评论 -
C语言输入输出(Input/Output)
1.控制台 scanf(); printf(); 2.字符串变量 sscanf() sprintf() 3.文件 fscanf() fprintf() 4.管道原创 2018-05-13 08:58:49 · 21290 阅读 · 0 评论
分享