pamxy

为了那么丁点的兴趣,你懂的...

导航

2013年3月4日 #

strchr

摘要: 转自:百度百科:http://baike.baidu.com/view/671247.htm目录简介例子编辑本段简介原型:extern char *strchr(const char *s,char c);const char *strchr(const char* _Str,int _Val)char *strchr(char* _Str,int _Ch)头文件:#include <string.h>功能:查找字符串s中首次出现字符c的位置说明:返回首次出现c的位置的指针,如果s中不存在c则返回NULL​。返回值:Returns the address of the first 阅读全文

posted @ 2013-03-04 11:47 pamxy 阅读(314) 评论(0) 推荐(0)

SHGetSpecialFolderPath

摘要: 转自:百度百科 http://baike.baidu.com/view/3449405.htmSHGetSpecialFolderPath目录简介编辑本段简介该api用来获取指定的系统路径API声明: function ulongSHGetSpecialFolderPath(longhwndOwner,ref string lpszPath,int nFolder,boolean fCreate ) LIBRARY "shell32.dll" ALIAS FOR "SHGetSpecialFolderPathA"Function Long GetDesk 阅读全文

posted @ 2013-03-04 11:34 pamxy 阅读(289) 评论(0) 推荐(0)

GetCurrentDirectory和SetCurrentDirectory函数

摘要: 转自:http://blog.csdn.net/wishfly/article/details/2906187在开发软件里,常常碰到要读取当前目录下的配置参数文件,或者打开当前目录下别的程序来运行,那么就需要获取当前进程的目录位置,这就需要使用函数GetCurrentDirectory获取当前进程所有在的目录。同时也可以使用SetCurrentDirectory函数来改变进程的当前目录。函数GetCurrentDirectory和SetCurrentDirectory声明如下:WINBASEAPIDWORDWINAPIGetCurrentDirectoryA( __in DWORD nBuff 阅读全文

posted @ 2013-03-04 11:25 pamxy 阅读(1183) 评论(0) 推荐(0)