Archive for the 'c' Category
CONVERSUB
HEXADECIMAL CONVERTER
This program reads a text file and displays the contents on screen in encrypted hexademal format.
It can also be used to decrypt hexadecimal format to human-readable format. author: ezequielher
You need set gcc on command line for compile: Download this Source Code
COMPILADOR
COMPILADOR is a compiler for arithmetic expressions. It consists of a lexical and syntactic analyzer for a matrix of precedence. This program will check if the expression is well formed and then evaluates it. author: ezequielher
Compile using command Makefile of Linux : Download this Source Code
LEXICAL ANALIZER
This source checks if the operations arithmetics are well made.
It uses an matrix of transitions to know if 2 consecutive characters have consistency or not. Then it revised that all characters written by the user are permitted, (only allow digits, comma, parentheses & operations) Compilate using command gcc of Linux. author: ezequielher
prompt/> gcc lexico.c -o programa
prompt/> ./programa ‘2*3-(56*8.3)’
Show this Source code
NEWSPAPERS
This source code will calculate the monthly value buy a newspaper every day assuming that prices change depending on the day of the week. You can change prices at this source, depending on what you charge to you. For compile that source you need set command ‘gcc’
Encryption
FILE COPY
The example is very basic: it shows you how to create an archive and make an exactly copy of another file that already exists. You need use command gcc. author: ezequielher

