I have three files.
I have my class declarations in my webcounter.h file.
I have my class definitions in my webcounter.cpp file.
How do I include both files to run in my main.cpp file?
My professor told us we shouldn't include .cpp files, yet I'm not understanding another way to get both my class definitions and declarations to be understood in the main.cpp file so they can compile correctly.
If i include the .cpp file into my main.cpp file, it works, but I want to know the correct way of going about this.