These are the tools needed to install this project
- Scoop (Package Manager)
- Git
- GCC Compiler
- Cmake
- Make
The installation guide will be for windows user exclusively
- Install Powershell on Microsoft Store
- Install Scoop
$ Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
$ irm get.scoop.sh | iex
$ scoop install gcc
- Install
Code Runner
Extension for vscode - Set default terminal to powershell
- Press
Ctrl
+Shift
+P
- Search for
Terminal: Select Default Profile
- Select Powershell
- Press
- Install
C++ Extension Pack
in the extension - Press
Ctrl
+Shift
+E
to open the file explorer - Right click a
.cpp
file you want to run, then pressrun code
- Prettier run command
Get-ChildItem -Path ./ -Recurse -Include *.cpp | ForEach-Object {clang-format -i $_.FullName}
- Compile & run file
cmake -S . -B build/ -G "Unix Makefiles"
cd ./build/
make
./main.exe