42 Projects
C++ Projects
Total 10 C++ projects to learn about OOP.
C00: Intro to C++
C01: Memory Allocation, references, pointers, switch in C++
C02: Ad-hoc polymorphism. overloads and orthodox canonical classes in C++
C03: Inheritence in C++
C04: Subtype polymorphism, abstract classesm and interfaces in C++
C05: Try/Catch and Exception in C++
C06: Different casts in C++
Cub3D
Created a Game Engine for first-person view game from scratch.Utilized vector calculations to determine the player's direction and employed matrices and trigonometry for smooth rotation Implemented the Digital Differential Analyzer (DDA) algorithm for efficient line drawing
Minishell
A mini version of shell that behaves like bash. In this project, we handled piping, redirections, child processes, built-in (s), signals. The main data structure used in this project is binary search tree and linked list.
Fdf
This project is about creating a simplified 3D graphic representation of a relief landscape. I discovered the basics of graphic programming, and in particular how to place points in space, how to join them with segments, and most importantly how to observe the scene from a particular viewpoint. And Matrix transformation is used in order view from an isometric projection.
Philosopher
The Dining Philosophers, the infamous example of concurrent process. In this project, I learned how to properly implement mutexes for share variables for all philosphers to prevent data race.
Push Swap
A sorting algorithm program. Particularly in this project, our primary focus is to optimize instruction-complexity, time-complexity issue is not take into consideration instead. What I had learned in this project is to how to design your algorithmn as well as grasped the solid fundamental understanding of sorting algorithmn.
Unsorted
Sorted
Pipex
This project covered the foundation knowledge of how pipes actually work and the implementation of child processes that could be used in future projects. Heredoc was handled as well for the bonus part of this project.
Ft_printf
To code the printf function in C from scratch.
Get_next_line
Behaves like readline function, that returns line by line of the fd that pass in as parameter.