Skip to content

Hugo-Persson/AOC-CPP-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AoC-starter

Starter code for Advent of Code for C++

Prerequisites

Before you start installing things, check what you have:

> gcc --version
> cmake --version

How to use

You only have to run this once:

scripts/gen.sh

Prepare a problem for a day with:

scripts/prepare.sh [day_number]

This will create a src/day_X.cpp file where you will solve problem from day X. It will create a input/day_X file where you will manually paste your input that you get in the bottom of problem description.

Run a problem with:

scripts/run.sh [day_number]

Project Structure

├───.build                # CMake will generate and build the project here
├───.vscode               # Contains tasks and recommended extensions
├───cmake                 # Contains autogenerated cmake files for the problems
├───scripts               # Contains all the scripts
├───input                 # Contains all input files
└───src                   # Contains all the source cpp files with your code

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published