All pastes #248325 Raw Edit

Sans nom

public cpp v1 · immutable
#248325 ·published 2006-11-14 15:25 UTC
rendered paste body
#ifndef _C_CONFIG_#define _C_CONFIG_#include <iostream>#include <string>#include <vector>#include <fstream>using namespace std;class c_config{  private:	const string name("./CONFIG");		struct s_configuration{		string type;		string valeur;	};	vector<s_configuration>vconfig;	void load();  public:	c_config();	~c_config();	void reload();	string getcfg(string buffer);	void setcfg(string buffer1, string buffer2);	void addcfg(string buffer1, string buffer2);};#endif