diff -r e534f2f78196 -r 21fba5183768 sources/main.cpp --- a/sources/main.cpp Mon Dec 15 02:03:08 2014 +0200 +++ b/sources/main.cpp Mon Dec 15 02:15:09 2014 +0200 @@ -43,8 +43,18 @@ main (int argc, char* argv[]) -> int { HUFFMAN_Construct(); + + if (argc != 1 and argc != 3) + { + fprintf (stderr, "usage: %s\nusage: %s