Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Modules Generator

A small Python script for 42 C++ modules, saving you from tedious manual work. Will generate makefile, classes, header guards, orthodox canonical form definitions etc.

Demo

demo.mov

Usage

Copy generator.py in your C++ module repository:

wget https://raw.githubusercontent.com/taaae/42_cpp_generator/main/generator.py
# or
curl -O https://raw.githubusercontent.com/taaae/42_cpp_generator/main/generator.py

Run the script passing the module and exercise number as arguments:

python3 generator.py cpp05 ex03

Generating the whole module works as well (note that you will need to manually copy-paste the code afterwards):

python3 generator.py cpp05

To view list of options:

python3 generator.py --help

About

Automatic file generator for 42 School C++ projects

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages