Oui bien sûr.
#ifndef CLSFILE_H_INCLUDED
#define CLSFILE_H_INCLUDED
#include <string>
#include <vector>
#include <fstream>
class clsFile
{
public :
...
clsFile(std::string Path = "");
~clsFile();
private :
//Pour la copie par bloc
std::string PathDef;
std::ifstream StreamIn;
std::ofstream StreamOut;
};//clsFile
#endif // CLSFILE_H_INCLUDED
#include <fstream>
using namespace std;
//Constructeurs, destructeurs
clsFile::clsFile(string Path /* = "" */)
{
clsFile::PathDef = Path;
} //clsFile()
clsFile::~clsFile()
{
clsFile::PathDef = "";
} //~clsFile()
Je sais pas si ca va aider...
Zives