Tfe

Ongi etorri tfe-ren webgunera...

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