I have a project in which I have a normal c++ file for my main function and I have a header for declaring a class with its member functions and fields, and I have another regular c++ file to implement the class (define its member functions and fields).
I now want to make yet another header and implementation file in the same project; in these files I want to declare and define void functions which take an object belonging to my created class as an argument; then I want to call those void functions to main.
I'm missing something in the second header file containing the definitions of the void functions as I get an error pointing to the function definition, but I can't understand the message.
Here's the code. It works fine if I just put it all in the main c++ file, just not like this. Note, header file 'House.h' included in 'Header.h' is the header with the declaration of the class, as far as I'm aware both headers need to be included in each other for the system to work, as well as both headers being included in the main file as well as each header files being included in
their respective implementation c++ files.