No description
Find a file
2016-02-26 01:36:07 -05:00
c4.c Include headers 2016-02-26 01:36:07 -05:00
hello.c initial 2014-11-04 13:05:49 -05:00
LICENSE Initial commit 2014-11-04 12:57:29 -05:00
README.md Added structures 2016-02-26 01:27:34 -05:00

c4 - C in four functions

An exercise in minimalism.

This branch adds structures (struct) along with the dot (.) and arrow (->) operators. It is very silly to add this level of complexity while keeping it just four functions. But it had to be done :-)

Try the following:

gcc -o c4 c4.c  (you may need the -m32 option on 64bit machines)
./c4 hello.c
./c4 -s hello.c

./c4 c4.c hello.c
./c4 c4.c c4.c hello.c