Giter Site home page Giter Site logo

ft_containers's Introduction

ft_containers ๐Ÿซ™

Re-implemented the popular STL containers such as map, stack, vector, and set in C++. Through this project, I gained a strong understanding of how templates were used, and how to debug and optimize code that made use of templates, including template specializations, inheritance, and polymorphism.

The use of templates for generic programming would have also provided an understanding of the importance of type safety in programming. The implementation also required a deep understanding of various data structures and algorithms, particularly for the implementation of the map using a red-black tree. The project was made more challenging due to the limitation of using only C++98.

Through this project, I developed skills in generic programming, allowing me to write code that can handle multiple types and utilize the full power of C++ templates. The project also provided an opportunity to develop skills in testing and debugging, which involved the creation of a comprehensive test suite and test cases using shell scripts and C++ programs.

Overall, this project significantly improved my knowledge and skills in C++ programming, particularly in the area of Object-Oriented Programming.

Resources

Main refrences:

Iterators:

Allocators:

Template:

SFINAE:

Binary Search Tree

BST operations

Last but not the least and ofcourse ChatGPT !!

ft_containers's People

Contributors

saxsori avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.