Skip to content

this project is script that i used to generate classes in othodox canonical form

Notifications You must be signed in to change notification settings

ZakariaElbouzkri/class-ganerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

cppOrthodoxCanonicalGenerator

Class Generator

This Python script is designed to generate C++ class files in the Orthodox Canonical form. It creates the following files for a given class name: main.cpp, ClassName.cpp, ClassName.hpp, and Makefile.

Usage

  1. Clone this repository to your local machine or download the script:

    git clone https://github.com/ZakariaElbouzkri/class-ganerator.git
    
  2. Navigate to the project directory:

    cd class-generator
    
  3. install for macOS:

    in zsh:
    echo 'alias genClass="python3 ~/class-generator/script.py"' >> ~/.zshrc
    or in bash:
    echo 'alias genClass="python3 ~/class-generator/script.py"' >> ~/.bashrc
    

Examples:

    genClass Person
  • this comand will generate the following files with orthodox-canonial form
    • main.cpp
    • Person.cpp
    • Person.hpp
    • Makefile

You can then edit the generated files to implement your class functionality.

About

this project is script that i used to generate classes in othodox canonical form

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages