Coder Social home page Coder Social logo

huffmanv2's Introduction

/////////////////////
HUFFMAN CODING
/////////////////////

	In this file when a command is written between "" type it withous the "" (e.g "make" becomes make).


/////////////////////
INSTALLATION

	Requires the make function for compilation.

/////////////////////
COMPILATION

	Type in the console: "make".

/////////////////////
EXECUTION

	You can either use "make run" and then follow the instructions displayed on the screen, or in the folder containing huffman.exe you can also type the following commmands with options:
	"./huffman.exe" on Linux.
	".\huffman.exe" on Windows.

	If you have changed the name of your executable, replace huffman.exe with the name of this executable in the commands above.

	Type "huffman.exe -h" to display the help or read the section HELP at the end of this README to know all the options.


/////////////////////
MISCELLANEOUS

	The output file (where the result will be saved) must not have the same name as the executable file.
	An empty file will not be compressed.
	If there are few identical characters in the file to be compressed the compression will be inefficient.
	If there is only one character that is repeated several times then the compressed file will only contain an header, since the Huffman code will be useless here: we don't use a tree, we just need the character and the size of the file.
	To generate the doxygen documentation type: "make doc".
	To remove the .o files you can type "make cleanwin" on Windows or "make cleanlinux" on Linux.


/////////////////////
HELP:



	NAME
		huffman

	SYNOPSIS
		huffman
		huffman [OPTION] SOURCE DEST

	DESCRIPTION
		Compresses or Decompresses the file SOURCE by using Huffman coding and saves it in the file DEST.

		-h
			display the help and exit.
		-c
			compress SOURCE to DEST.
		-d
			decompress SOURCE to DEST.

huffmanv2's People

Contributors

robinmeneust avatar

Stargazers

Ignacio Maruottolo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.