Tfe

Ongi etorri tfe-ren webgunera...

Old stuff/ecole_etude_fac_de_pau/nico/bckup/deflater.h

(Deskargatu)
#ifndef _lzw
#define _lzw

#include <string>
#include <map>
#include <vector>

class Deflater {
 private:
  std::map<const std::string,unsigned int> dico;
  std::string memoire;
  std::vector<unsigned int> sortie;
 
  int add(std::string);
  int seek(std::string);

 public:
  Deflater();
  int deflate();
  void setinput(std::string);
 
};



#endif