Skip to content

Latest commit

 

History

History
25 lines (24 loc) · 1.01 KB

File metadata and controls

25 lines (24 loc) · 1.01 KB

Compile and Execute C++ Programs

Clone the repository

git clone https://github.com/yourusername/cppx.git
cd cppx

Make the script executable

chmod +x cppx

Move to system path (linux)

sudo mv cppx /usr/local/bin/

Verify Installation

cppx

screenshot

Windows Setup

cppx is a Bash script, so on Windows you'll need a Bash-compatible shell: Git Bash (comes with Git for Windows) or WSL. You'll also need a C++ compiler on your PATH — install one of:

Note: If you use WSL instead, just follow the Linux instructions above inside your WSL shell.