胡神

导航

2011年5月16日

[C语言]系统目录操作函数

摘要: 7个主要函数。TempPath()获取临时文件目录;CurrentPath()获取当前工作目录;SystemPath()获取system32目录;WindowsPath()获取Windows目录;ShortPath()获取短文件名;ExePath()获取exe可执行文件目录;GetDir()获取指定文件的目录路径。#include <stdio.h>#include <windows.h>/*将给定的两个字符串连接起来,并返回为一个新的字符串*/char* StringJoin(const char* first,const char* last){ char* res 阅读全文

posted @ 2011-05-16 12:07 胡神 阅读(5722) 评论(1) 推荐(1) 编辑