An open API service indexing awesome lists of open source software.

https://github.com/davidagredano/c-piscine

My C Piscine projects for 42 School
https://github.com/davidagredano/c-piscine

42 42born2code 42piscine 42school born2code c c-lang c-language c-programming c-programming-language piscine piscine-42 piscine-c

Last synced: 11 months ago
JSON representation

My C Piscine projects for 42 School

Awesome Lists containing this project

README

          

# C Piscine

![c-piscine-42-school](https://github.com/user-attachments/assets/b1722a33-a415-4611-8693-d78260fe08c4)

My C Piscine projects for 42 School

## C Modules

### [Module C 06](https://github.com/davidagredano/c-piscine/tree/main/C06) - Command-line argument manipulation

- [Exercise 00: ft_print_program_name](https://github.com/davidagredano/c-piscine/blob/main/C06/ex00/ft_print_program_name.c?ts=4) - Print program name.
- [Exercise 01: ft_print_params](https://github.com/davidagredano/c-piscine/blob/main/C06/ex01/ft_print_params.c?ts=4) - Print command-line arguments.
- [Exercise 02: ft_rev_params](https://github.com/davidagredano/c-piscine/blob/main/C06/ex02/ft_rev_params.c?ts=4) - Print command-line arguments in reverse order.
- [Exercise 03: ft_sort_params](https://github.com/davidagredano/c-piscine/blob/main/C06/ex03/ft_sort_params.c?ts=4) - Print command-line arguments in ASCII order.

### [Module C 07](https://github.com/davidagredano/c-piscine/tree/main/C07) - String and memory manipulation
- [Exercise 00: ft_strdup](https://github.com/davidagredano/c-piscine/blob/main/C07/ex00/ft_strdup.c?ts=4) - Duplicate a string using malloc.
- [Exercise 01: ft_range](https://github.com/davidagredano/c-piscine/blob/main/C07/ex01/ft_range.c?ts=4) - Create an array of integers in a given range.
- [Exercise 02: ft_ultimate_range](https://github.com/davidagredano/c-piscine/blob/main/C07/ex02/ft_ultimate_range.c?ts=4) - Populate and return an array of integers in a range.
- [Exercise 03: ft_strjoin](https://github.com/davidagredano/c-piscine/blob/main/C07/ex03/ft_strjoin.c?ts=4) - Concatenate strings with a separator.
- [Exercise 05: ft_split](https://github.com/davidagredano/c-piscine/blob/main/C07/ex05/ft_split.c?ts=4) - Split a string using a string separator.

### [Module C 08](https://github.com/davidagredano/c-piscine/tree/main/C08) - Header files and data structures
- [Exercise 00: ft.h](https://github.com/davidagredano/c-piscine/blob/main/C08/ex00/ft.h?ts=4) - Create a header file with function prototypes.
- [Exercise 01: ft_boolean.h](https://github.com/davidagredano/c-piscine/blob/main/C08/ex01/ft_boolean.h?ts=4) - Create a header with macros for even/odd checks.
- [Exercise 02: ft_abs.h](https://github.com/davidagredano/c-piscine/blob/main/C08/ex02/ft_abs.h?ts=4) - Create a header with a function-like macro to get absolute values.
- [Exercise 03: ft_point.h](https://github.com/davidagredano/c-piscine/blob/main/C08/ex03/ft_point.h?ts=4) - Create a header with a point struct and typedef.
- [Exercise 04: ft_strs_to_tab](https://github.com/davidagredano/c-piscine/blob/main/C08/ex04/ft_strs_to_tab.c?ts=4) - Convert string array to a custom struct array.
- [Exercise 05: ft_show_tab](https://github.com/davidagredano/c-piscine/blob/main/C08/ex05/ft_show_tab.c?ts=4) - Display contents of the custom struct array.

### [Module C 09](https://github.com/davidagredano/c-piscine/tree/main/C09) - Library and build management
- [Exercise 00: libft](https://github.com/davidagredano/c-piscine/blob/main/C09/ex00/libft_creator.sh?ts=4) - Create a library with basic string and utility functions.
- [Exercise 01: Makefile](https://github.com/davidagredano/c-piscine/blob/main/C09/ex01/Makefile?ts=4) - Create a Makefile for compiling the library.
- [Exercise 02: ft_split](https://github.com/davidagredano/c-piscine/blob/main/C09/ex02/ft_split.c?ts=4) - Split a string using multiple separators.

### [Module C 10](https://github.com/davidagredano/c-piscine/tree/main/C10) - File handling and utilities
- [Exercise 00: display_file](https://github.com/davidagredano/c-piscine/tree/main/C10/ex00/main.c?ts=4) - Create a program that displays the content of a file given as an argument.
- [Exercise 01: cat](https://github.com/davidagredano/c-piscine/tree/main/C10/ex01/main.c?ts=4) - Create a program that mimics the system's cat command to display file contents.