diff --git a/2025/Cpp/AdventHelpers/AdventHelpers.vcxproj b/2025/Cpp/AdventHelpers/AdventHelpers.vcxproj
index 998e02a..9bcc0d9 100644
--- a/2025/Cpp/AdventHelpers/AdventHelpers.vcxproj
+++ b/2025/Cpp/AdventHelpers/AdventHelpers.vcxproj
@@ -31,6 +31,7 @@
true
v145
Unicode
+ true
StaticLibrary
@@ -38,12 +39,14 @@
v145
true
Unicode
+ false
StaticLibrary
true
v145
Unicode
+ true
StaticLibrary
@@ -51,6 +54,7 @@
v145
true
Unicode
+ false
diff --git a/2025/Cpp/AdventHelpers/include/AdventHelpers/AdventOfCodeSolution.h b/2025/Cpp/AdventHelpers/include/AdventHelpers/AdventOfCodeSolution.h
index 648fe29..58b8094 100644
--- a/2025/Cpp/AdventHelpers/include/AdventHelpers/AdventOfCodeSolution.h
+++ b/2025/Cpp/AdventHelpers/include/AdventHelpers/AdventOfCodeSolution.h
@@ -7,6 +7,8 @@ namespace AdventHelpers
{
class AdventOfCodeSolution {
public:
+ virtual ~AdventOfCodeSolution() = default;
+
virtual std::string SolveProblem01(AdventHelpers::InputFileHelper& inputFile) = 0;
virtual std::string SolveProblem02(AdventHelpers::InputFileHelper& inputFile) = 0;
diff --git a/2025/Cpp/AdventHelpersTester/AdventHelpersTester.vcxproj b/2025/Cpp/AdventHelpersTester/AdventHelpersTester.vcxproj
index b5b97a1..b6ca79c 100644
--- a/2025/Cpp/AdventHelpersTester/AdventHelpersTester.vcxproj
+++ b/2025/Cpp/AdventHelpersTester/AdventHelpersTester.vcxproj
@@ -31,6 +31,7 @@
true
v145
Unicode
+ true
Application
@@ -44,6 +45,7 @@
true
v145
Unicode
+ true
Application
diff --git a/2025/Cpp/AdventOfCode.slnx b/2025/Cpp/AdventOfCode.slnx
index d404874..ec5c5e1 100644
--- a/2025/Cpp/AdventOfCode.slnx
+++ b/2025/Cpp/AdventOfCode.slnx
@@ -6,4 +6,5 @@
+
diff --git a/2025/Cpp/Day01/Day01.cpp b/2025/Cpp/Day01/Day01.cpp
index 93af667..4426905 100644
--- a/2025/Cpp/Day01/Day01.cpp
+++ b/2025/Cpp/Day01/Day01.cpp
@@ -20,7 +20,7 @@ public:
int clicksAtZero = 0;
if (mDebug) std::cout << "Turning left " << amount << " from " << mPosition;
-
+
while (amount > 0) {
if (mPosition == 0) {
mPosition = mMaxPosition;
@@ -64,10 +64,10 @@ public:
return mPosition;
}
private:
- const bool mDebug;
const int mMaxPosition;
const int mMinPosition;
int mPosition;
+ const bool mDebug;
};
class Day01Solution : public AdventHelpers::AdventOfCodeSolution
@@ -124,7 +124,7 @@ public:
}
};
-int main(const char *argv[], int argc)
+int main()
{
Day01Solution solution;
solution.SolveAll();
diff --git a/2025/Cpp/Day01/Day01.vcxproj b/2025/Cpp/Day01/Day01.vcxproj
index b419ecd..848b092 100644
--- a/2025/Cpp/Day01/Day01.vcxproj
+++ b/2025/Cpp/Day01/Day01.vcxproj
@@ -31,6 +31,7 @@
true
v145
Unicode
+ true
Application
@@ -38,12 +39,14 @@
v145
true
Unicode
+ false
Application
true
v145
Unicode
+ true
Application
@@ -51,6 +54,7 @@
v145
true
Unicode
+ false
diff --git a/2025/Cpp/Day02/Day02.cpp b/2025/Cpp/Day02/Day02.cpp
new file mode 100644
index 0000000..a0696b3
--- /dev/null
+++ b/2025/Cpp/Day02/Day02.cpp
@@ -0,0 +1,26 @@
+#include "AdventHelpers/AdventOfCodeSolution.h"
+
+#include
+#include
+#include
+
+class Day02Solution : public AdventHelpers::AdventOfCodeSolution
+{
+public:
+ virtual std::string SolveProblem01(AdventHelpers::InputFileHelper& inputFile) override {
+ return "todo";
+ }
+
+ virtual std::string SolveProblem02(AdventHelpers::InputFileHelper& inputFile) override {
+ return "todo";
+ }
+};
+
+int main(const char* argv[], int argc)
+{
+ Day02Solution solution;
+ solution.SolveAll();
+
+ return 0;
+}
+
diff --git a/2025/Cpp/Day02/Day02.vcxproj b/2025/Cpp/Day02/Day02.vcxproj
new file mode 100644
index 0000000..c1e576c
--- /dev/null
+++ b/2025/Cpp/Day02/Day02.vcxproj
@@ -0,0 +1,142 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ x64
+
+
+
+ 18.0
+ Win32Proj
+ {e4a6403b-4329-4202-88ce-b3f2b98acdbb}
+ Day02
+ 10.0
+
+
+
+ Application
+ true
+ v145
+ Unicode
+ true
+
+
+ Application
+ false
+ v145
+ true
+ Unicode
+
+
+ Application
+ true
+ v145
+ Unicode
+ true
+
+
+ Application
+ false
+ v145
+ true
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Level3
+ true
+ WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ true
+ stdcpp20
+
+
+ Console
+ true
+
+
+
+
+ Level3
+ true
+ true
+ true
+ WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ true
+ stdcpp20
+
+
+ Console
+ true
+
+
+
+
+ Level3
+ true
+ _DEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ true
+ stdcpp20
+
+
+ Console
+ true
+
+
+
+
+ Level3
+ true
+ true
+ true
+ NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ true
+ stdcpp20
+
+
+ Console
+ true
+
+
+
+
+
+
+
+ {df572ffd-18c6-4b8d-8d35-4855f9a05376}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/2025/Cpp/Day02/Day02.vcxproj.filters b/2025/Cpp/Day02/Day02.vcxproj.filters
new file mode 100644
index 0000000..a573c5f
--- /dev/null
+++ b/2025/Cpp/Day02/Day02.vcxproj.filters
@@ -0,0 +1,22 @@
+
+
+
+
+ {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
+ cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx
+
+
+ {93995380-89BD-4b04-88EB-625FBE52EBFB}
+ h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd
+
+
+ {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
+ rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
+
+
+
+
+ Source Files
+
+
+
\ No newline at end of file