Need basic information about Constructors!
How can i initialize an array (maxsize: 4), (type: class Employee), so as i can get for 4 people their names, ages, etc. ?
Also, as you can see i am using a constructor here(it' s my first time) but i do not know what to write in main... :( My first thought was something like this, but i am sure that it is wrong(a, b c, d are the 4 people!)!
Employee(); // Constructor!
class Employee A;
What shall i write here to finally create the array i wanted ?
thank you all!
Employee a, b, c, d;