I am trying to get the hang of classes and I am using football management as the context.
I have the following code so for
but to get the true representation of a footballer eventually i would want maybe twice as many parameters for the constructor. I am sure this would not be the way to go so can any one give me an insight into how they would approach the problem
// classes again
using namespace std;
Footballer(char* name, int age, int passing, int shooting, int tackling);
Footballer::Footballer(char* name, int age, int passing, int shooting, int tackling)
Footballer Mark("Mark Sandles",26,5,2,8);