Welcome to my C++ template repository. This setup streamlines C++ development with essential templates, automation scripts, and VSCode configurations.
This configuration is optimized for macOS. Windows users might need to adjust paths and scripts accordingly.
c++
├─ README.md
├─ cpp
│ ├─ function.cpp
│ ├─ macro.cpp
│ ├─ main.cpp
│ └─ program1
├─ macros
│ ├─ template-function.cpp
│ ├─ template-macro.cpp
│ └─ template-main.cpp
├─ py-sc
│ ├─ reset.py
│ └─ run.py
├─ reset
├─ script.sh
└─ txt
├─ inp.txt
├─ out.txt
└─ out1.txt
- C++ Templates:
function.cpp
,macro.cpp
, and more for quick start. - Python Scripts: Automate tasks with
reset.py
andrun.py
. - VSCode Configuration: Pre-set settings for a smooth coding experience.
-
Clone the Repository:
git clone https://github.com/Alimddar/CppCoreTemplate.git
-
Navigate to your Project: Replace template code with your own.
-
Utilize Scripts: Run Python scripts as needed for automation.
-
Bash Aliases for macOS Users:
- Run Script:
alias runscript='bash /path/to/script.sh'
- Reset Script:
alias resetscript='python3 /path/to/reset.py'
Replace
/path/to/
with the actual paths to your scripts. Windows users may need to adjust these scripts to match their environment. - Run Script:
Feel free to fork, modify, and send pull requests. Suggestions and improvements are welcome!