Skip to content

This repository contains three code snippets to assist you in your C++ 42 Piscine

Notifications You must be signed in to change notification settings

yazid-k/CPPSnippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

CPPSnippets

License

About

This repository is a curated collection of code snippets and tools designed to assist 42 students in the CPP modules.

Key Features

  1. 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.
  2. 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.
  3. 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.

Usage

  1. Clone this repository to your local machine:

    git clone https://github.com/your-username/CPPSnippets.git
  2. 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.

License

This repository is licensed under the MIT License.

Contribution

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.

Feedback

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!

About

This repository contains three code snippets to assist you in your C++ 42 Piscine

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published