36 lines
934 B
C++
36 lines
934 B
C++
#include "AdventHelpers/InputFileHelper.h"
|
|
#include "AdventHelpers/AdventOfCodeSolution.h"
|
|
|
|
#include <iostream>
|
|
|
|
// Interface
|
|
|
|
class ExampleSolution : public AdventHelpers::IAdventOfCodeSolution
|
|
{
|
|
public:
|
|
virtual void SolveExample(AdventHelper::InputFileHelper& inputFile) override;
|
|
virtual void SolveProblem01(AdventHelper::InputFileHelper& inputFile) override;
|
|
virtual void SolveProblem02(AdventHelper::InputFileHelper& inputFile) override;
|
|
};
|
|
|
|
int main()
|
|
{
|
|
auto* inputHelper = AdventHelper::InputFileHelper::create("input.txt");
|
|
|
|
std::cout << "Hello World!\n";
|
|
|
|
AdventHelper::InputFileHelper::destroy(inputHelper);
|
|
}
|
|
|
|
// Implementation
|
|
|
|
void ExampleSolution::SolveExample(AdventHelper::InputFileHelper& inputFile) {
|
|
|
|
}
|
|
|
|
void ExampleSolution::SolveProblem01(AdventHelper::InputFileHelper& inputFile) {
|
|
|
|
}
|
|
|
|
void ExampleSolution::SolveProblem02(AdventHelper::InputFileHelper& inputFile) {
|
|
} |