Exams of the new graph.
Subjects are in the folder of each exercises, along with a solution and a test file.
At the same time, I have presented the code as a sample for solving each of the functions.if you find any bug, write to "issues".
Original link to the subjects repository: click
Title | Description | Allowed functions | level of difficulty |
---|---|---|---|
ft_printf | Write a function named ft_printf that will mimic the real printf |
malloc, free, write, va_start, va_arg, va_copy, va_end | ⭐⭐⭐⭐ |
get_next_line | Write a function will store, in the parameter "line", a line that has been read from the file descriptor 0 | read, free, malloc | ⭐⭐⭐ |
inter | Write a program that takes two strings and displays, without doubles, the characters that appear in both strings, in the order they appear in the first one. | write | ⭐⭐ |
union | Write a program that takes two strings and displays, without doubles, the characters that appear in either one of the strings. | write | ⭐ |
Original link to the subjects repository: click
Title | Description | Allowed functions | level of difficulty |
---|---|---|---|
micro_paint | Write a program that will read an "operation file" and print the result in the terminal (rectangle) | fopen, fread, fscanf, fclose, write, malloc, calloc, realloc, free, memset, powf, sqrtf | ⭐⭐⭐ |
mini_paint | Write a program that will read an "operation file" and print the result in the terminal (circle) | fopen, fread, fscanf, fclose, write, malloc, calloc, realloc, free, memset, powf, sqrtf | ⭐⭐⭐ |
Original link to the subjects repository: click
Title | Description | Allowed functions | level of difficulty |
---|---|---|---|
microshell | Write a program that will behave like executing a shell command | malloc, free, write, close, fork, waitpid, signal, kill, exit, chdir, execve, dup, dup2, pipe, strcmp, strncmp | ⭐⭐⭐⭐ |
To check for leaked file descriptors, use the command lsof -c microshell
. Pay attention to the section PIPE
Title | Description | Allowed functions | level of difficulty |
---|---|---|---|
cpp_module_02 | Polymorphism | All | ⭐⭐⭐ |
cpp_module_01 | Inheritance | All | ⭐⭐ |
cpp_module_00 | Encapsulation | All | ⭐ |
©️Authors: