Skip to content

Latest commit

 

History

History
32 lines (31 loc) · 893 Bytes

File metadata and controls

32 lines (31 loc) · 893 Bytes

C++ Orthodox Canonical Form Template

A simple template for the 42-CPP projects.

Written in


The template:

  • Creates a basic orthodox canonical form for cpp and hpp files.
  • Saves time on repetetive work.

Installation and Usage

  1. In VSCode, click on settings and then User Snippets.
  2. Click on the user snippet for cpp.
  3. Copy the contents of cpp.json from this repository into the opened file in VSCode.
  4. Usage:
  • For .hpp files type 'ocfh' and press enter.
  • For .cpp files type 'ocfp' and press enter.
  • Alternatively go to "show and run commands", "insert snippet" and choose either 'ocfh' or 'ocfp'.

This project is part of my studies at 42 Heilbronn