Solution for Day 1 in C++
This commit is contained in:
@@ -5,32 +5,32 @@
|
||||
|
||||
// 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;
|
||||
};
|
||||
//class ExampleSolution : public AdventHelpers::IAdventOfCodeSolution
|
||||
//{
|
||||
//public:
|
||||
// virtual std::string SolveExample01(AdventHelper::InputFileHelper& inputFile) override;
|
||||
// virtual std::string SolveProblem01(AdventHelper::InputFileHelper& inputFile) override;
|
||||
// virtual std::string SolveProblem02(AdventHelper::InputFileHelper& inputFile) override;
|
||||
//};
|
||||
|
||||
int main()
|
||||
{
|
||||
auto* inputHelper = AdventHelper::InputFileHelper::create("input.txt");
|
||||
auto* inputHelper = AdventHelpers::InputFileHelper::create("input.txt");
|
||||
|
||||
std::cout << "Hello World!\n";
|
||||
|
||||
AdventHelper::InputFileHelper::destroy(inputHelper);
|
||||
AdventHelpers::InputFileHelper::destroy(inputHelper);
|
||||
}
|
||||
|
||||
// Implementation
|
||||
|
||||
void ExampleSolution::SolveExample(AdventHelper::InputFileHelper& inputFile) {
|
||||
|
||||
}
|
||||
|
||||
void ExampleSolution::SolveProblem01(AdventHelper::InputFileHelper& inputFile) {
|
||||
|
||||
}
|
||||
|
||||
void ExampleSolution::SolveProblem02(AdventHelper::InputFileHelper& inputFile) {
|
||||
}
|
||||
//void ExampleSolution::SolveExample(AdventHelper::InputFileHelper& inputFile) {
|
||||
//
|
||||
//}
|
||||
//
|
||||
//void ExampleSolution::SolveProblem01(AdventHelper::InputFileHelper& inputFile) {
|
||||
//
|
||||
//}
|
||||
//
|
||||
//void ExampleSolution::SolveProblem02(AdventHelper::InputFileHelper& inputFile) {
|
||||
//}
|
||||
Reference in New Issue
Block a user