This repository is a curated collection of code snippets and tools designed to assist 42 students in the CPP modules.
-
ocfclass Snippet:
- Prefix: ocfclass
- Description: A code snippet for generating an Orthodox Canonical Form class header file. This snippet follows best practices and includes private attributes and essential member function declarations.
-
cfunctions Snippet:
- Prefix: cfunctions
- Description: A code snippet that complements the "ocfclass" snippet. It provides ready-made implementations for basic member functions within your OCF class, ensuring adherence to OCF principles.
-
make Snippet:
- Prefix: Makefile snippet
- Description: A code snippet for creating a C++ Makefile. This template automates the compilation of your C++ code, manages object files, and simplifies project cleanup.
-
Clone this repository to your local machine:
git clone https://github.com/your-username/CPPSnippets.git
-
Use the code snippets within your preferred code editor or IDE. The provided snippets will help you streamline class creation, member function implementation, and project compilation.
This repository is licensed under the MIT License.
If you have additional C++ code snippets or improvements to existing ones that you'd like to contribute, please feel free to create a pull request. Your contributions are highly appreciated.
If you have any feedback, questions, or suggestions regarding this repository, please don't hesitate to open an issue. Your input helps make this repository more valuable for the C++ community.
Happy coding!