Compare commits

..

2 Commits

Author SHA1 Message Date
Stedd 5fd685cc55 first run structure 2024-12-01 12:09:27 +01:00
Stedd e0d65521c0 added day 1 2024-12-01 12:00:35 +01:00
4 changed files with 37 additions and 4 deletions

View File

@ -3,4 +3,6 @@ project(AOC_24)
set(CMAKE_CXX_STANDARD 20)
add_executable(AOC_24 main.cpp)
add_executable(AOC_24 main.cpp
days/day01.cpp
days/day01.h)

13
days/day01.cpp Normal file
View File

@ -0,0 +1,13 @@
//
// Created by stedd on 01.12.24.
//
#include "day01.h"
#include <iostream>
#include <ostream>
void day01::Run()
{
std::cout << "Day 01" << std::endl;
}

16
days/day01.h Normal file
View File

@ -0,0 +1,16 @@
//
// Created by stedd on 01.12.24.
//
#ifndef DAY01_H
#define DAY01_H
class day01
{
public:
static void Run();
};
#endif //DAY01_H

View File

@ -1,7 +1,9 @@
#include <iostream>
#include "days/day01.h"
int main()
{
std::cout << "Hello, World!" << std::endl;
return 0;
}
day01 day01;
day01.Run();
}