I'm just learning i build a simple logging function in the Main.cpp file but i want to break it out into a Log.h and Log.cpp file but I'm struggling please help.
Initially I had the enum definition in the class once i moved it out it fixed alot but im still getting one error in the cpp
Severity Code Description Project File Line Suppression State
Error C2011 'Log': 'class' type redefinition Logging c:\users\ma_je\onedrive\documents\visual studio 2017\projects\logging\logging\log.cpp 5
I've been coding with VB.Net for along time and it seems a little foreign to define the class structure separate from the actual code that is doing the work.
I'm going to have to change my view of the world a little.