SkillAgentSearch skills...

ClassFileCreator

a simple program that creates classes cpp and hpp files with canonical form based on the class name

Install / Use

/learn @mohammad-baazza/ClassFileCreator
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

this is a simple program that creates classes cpp and hpp files with canonical form based on the class name

it can be useful for 42 students while doing the cpp modules

to install run the following command :

cd && git clone https://github.com/mohammad-baazza/ClassFileCreator.git && cd ClassFileCreator && make

then it should work properly on zsh and bash.

you can use it with the command hpp (use hpp -h for help)

to update you need just to run cd ~/ClassFileCreator && make update

examples

<img width="238" alt="examples" src="https://github.com/user-attachments/assets/4e8b507e-62b3-4e18-9a73-18ecb15dc864">

hint : you can write more than one class name at a time.

that caused

<img width="537" alt="Screen Shot 2023-11-21 at 2 25 46 PM" src="https://github.com/mohammad-baazza/ClassFileCreator/assets/115046361/246b1caa-64d0-4812-a68c-1823d01a616b"> <img width="537" alt="Screen Shot 2023-11-21 at 2 25 56 PM" src="https://github.com/mohammad-baazza/ClassFileCreator/assets/115046361/6661ed81-2633-4acd-90a9-e3c5b8a68cfc">

hint 2 : you can use -s to create files without ".class." in the middle of filenames

hint 3 : you can use -d to delete class related files just like how you created them and you can combine it with -s to delete the simple ones

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated10mo ago
Forks2

Languages

C++

Security Score

62/100

Audited on May 23, 2025

No findings