Skip to content

Latest commit

 

History

History

README.md

0x00 Hello World

Day Zero of my C programming journey. This project would contain the following tasks:

0-preprocessor

This script runs a C file through the preprocessor and saves the result into another file.

  • The C file name should be saved in the variable CFILE
  • The output would be saved in the file c
1-compiler

This script compiles a C file but does not link.

  • The C file name should be saved in the variable CFILE
  • The output file would be named the same as the C file, but with the extension .o instead of .c
2-assembler

This script generates the assembly code of a C code and saves it to an output file.

  • The C file name should be saved in the variable CFILE
  • The output file would be named the same as the C file, but with the extension .s instead of .c
3-name

This script compiles a C file and creates an executable named cisfun.

  • The C file should be saved in the variable CFILE
4-puts.c

This C program prints out exactly "Programming is like building a multilingual puzzle followed by a new line using the puts function

5-printf.c

This C program prints out exactly with proper grammar,but the outcome is a piece of art, followed by a new line using the printf function

6-size.c

This C program prints out the size of various types on the computer it is compiled and run on.

100-intel

This scripts generates assembly code (intel syntax) of a C code and save it in an output file.

  • The C file name should be saved in the variable CFILE
  • The output file would be named the same as the C file, but with the extension .s instead of .c
101-quote.c

This script prints exactly and that piece of art is useful" - Dora Korpar, 2015-10-19, followed by a new line, to the standard error.