Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Idriss975/Advent_of_Code_2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Solutions to AoC 2022 in C++

Run Solution

1- Change directory

Open your terminal then cdto the directory of your choosing, for example : cd Day1

2- Compilation

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

3- Run the executable

  • On CMD/PowerShell

./bin/D1Part1.exe

  • On Unix based OS

sudo chmod u+x ./bin/D1Part1

./bin/D1Part1