This repository includes all the projects made with C
First project with some basic C tasks
My own C library. Includes some usefull functions
It is a function that reads a file and allows you to read a line ending with a newline character from a file descriptor. When you call the function again on the same file, it grabs the next line
Takes 4x4 tetris blocks as input and arranges them in such order that they fit in the smallest possible square. The orientation of the blocks are not changed.
Run the Makefile and give the program valid blocks (samples included) as argument.
A simple 3D height-map renderer. You can rotate with mouse, zoom, move and change the height of the models, color is defined by relative height in the map. There are three different projections as how you can view the model.
Run the Makefile and give the program a valid map (samples included) as argument.
Part of mars landscape
Part of the landscape of southern Finland. Altiture differences enhanced...
"homemade" version of the C-function printf, named ft_printf. Works with c, s, p, d, i, o, u, x, X and f. All flags #0-+ and space works. Width and precision also works. The only libc functions used: write(), malloc(), free() and exit().