cFileCtrl 类

来源:互联网 发布:php的curlpath 编辑:程序博客网 时间:2024/06/01 13:26

 

 

#pragma once
#include <stdio.h>
#include <Windows.h>
#include <iostream>
#include <tchar.h>
#include <fstream>
#include <string>
#include <string.h>
using namespace std;
#include <vector>

struct MyUeniFile
{
 int type;
 std::string name;
 std::string path;
 std::string cPath;
};


class cFileCtrl
{
public:
 cFileCtrl();
 ~cFileCtrl();
 bool getToken( const char*& str, string& token, char addSeps = 0);
 void getDirFile(const char* dirPath);
 bool saveFile();
 bool parseBinFile();
protected:
private:
 vector<MyUeniFile> allFileName;
};

原创粉丝点击