This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void drawLine( pixel * inicio, pixel * final) { | |
| int largura = final->abscissa - inicio->abscissa ; | |
| int altura = final->ordenada - inicio->ordenada ; | |
| int dx1 = 0, dy1 = 0, dx2 = 0, dy2 = 0 ; | |
| dx1 = largura < 0 ? -1 : 1; | |
| dy1 = altura < 0 ? -1 : 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * huffman.c | |
| * Um simples compressor de arquivos usando árvores de Huffman. | |
| * @ver 0.1 | |
| * @autores: Fabrício Soares | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <time.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * spellchecker.c | |
| * | |
| * @ver 0.1 | |
| * @autor: Fabrício Soares | |
| */ | |
| /** | |
| * Um simples spellchecker utilizando tabelas hash. | |
| */ |