error LNK2005: need help !
An error is prompt while compiling..
"error LNK2005: "class Controller input" (?input@@3VController@@A) already defined in Controller.obj"
I am trying to call the input from class Controller in the function of class Control. Does my understanding for the programming was wrong?
// Class Control.cpp //
inputs = 0;
// Controller.cpp //