Project done during Full Stack Software Engineering studies at ALX LOW LEVEL PROGRAMMING School. It aims to learn about Malloc Project in C language.
- Scripts written in Bash 4.3.11(1)
- C files are compiled using
gcc 4.8.4 - C files are written according to the C90 standard
- Tested on Ubuntu 14.04 LTS
All of the following files are scripts and programs written in C:
| Filename | Description |
|---|---|
0-create_array.c |
is a function that creates an array of chars, and initializes it with a specific char. |
1-strdup.c |
is a function that returns a pointer to a newly allocated space in memory, which contains a copy of the string given as a parameter. |
2-str_concat.c |
is a function that concatenates two strings. |
3-alloc_grid.c |
is a function that frees a 2 dimensional grid previously created by our alloc_grid function. |
4-free_grid.c |
a program that multiplies two numbers. |
100-argstostr.c |
is a function that concatenates all the arguments of our program. |
101-strtow.c |
is a function that splits a string into words. |
main.h |
is a header file contaning all the function prototypes. |