My Solutions to AoC 2022 in C++
Open your terminal then cd
to the directory of your choosing, for example :
cd Day1
I recommend using either g++
or clang++
with the following example :
- On Windows
g++ D1Part1.cpp -o bin/D1Part1.exe
- On Unix based OS
g++ D1Part1.cpp -o bin/D1Part1
- On CMD/PowerShell
./bin/D1Part1.exe
- On Unix based OS
sudo chmod u+x ./bin/D1Part1
./bin/D1Part1