Advent of Code 2023 in C++
Switch to the day's directory, copy your input file and name it input.txt
. Then build and run the C++ file.
$ cd day-XX
$ cp /path/to/your/input input.txt
$ g++ -std=c++17 -g qX.cpp ../lib/*.cpp -o qX.o
$ ./qX.o
Switch to the day's directory, copy your input file and name it input.txt
. Then build and run the C++ file.
$ cd day-XX
$ cp /path/to/your/input input.txt
$ g++ -std=c++17 -g qX.cpp ../lib/*.cpp -o qX.o
$ ./qX.o