摘要: 1 char szDirName[] = "文件路径"; 2 CreateDirectory(szDirName, NULL) ; 3 //这样就可以了CreateDirectory功能:This function creates a new directory. If the underlyin... 阅读全文
posted @ 2014-06-19 16:04 MATU 阅读(661) 评论(0) 推荐(1) 编辑
摘要: 1 //1.C++很简单的一种办法: 2 #include 3 #include 4 using namespace std; 5 #define FILENAME "stat.dat" 6 int main() 7 { 8 fstream _file; 9 _file.o... 阅读全文
posted @ 2014-06-19 15:41 MATU 阅读(2038) 评论(0) 推荐(0) 编辑
摘要: 以下代码摘抄CSDN论坛:源文连接在:http://topic.csdn.net/u/20110620/10/1e0e91f0-1440-45db-aa29-6ce618fec2da.html本人目的只在于收藏;C方法: 1 void del_sp(char *src) // 删除C风格字符串... 阅读全文
posted @ 2014-06-19 15:32 MATU 阅读(2403) 评论(0) 推荐(0) 编辑