Skip to content

Commit

Permalink
create main in Decompress and Compress for now to easily compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Pham authored and Tony Pham committed May 17, 2017
1 parent 2e2eeb1 commit efe4c2d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
#include "Huffman.H"
#include "Compress.H"
#include "Decompress.H"

#include <iostream>


int main(int argc, char *argv[]){
using namespace std;
try{
/*
shared_ptr<Compress> conv = make_shared<Compress>(Compress(argv[1]));
conv->generateTree();
conv->generateBitMap();
conv->compressFile("random");
cout << "String bit for A : " << convertToString("A") << endl;
*/
Decompress tst = Decompress(argv[1]);
tst.parseText();
}
catch(string &e){cout << e;}
return 0;
Expand Down

0 comments on commit efe4c2d

Please sign in to comment.