Hey guys, so I generated the header file for both the Employee and the Production worker classes and I created an array to pass arguments which worked nicely.
However, when I tried to cout them it wouldnt go...
The error means that you did not define the operator "<<" for the Employee class. Also, you use the same i for cycles over workers and employees. Bad idea
Yeah I figured it was. I decided to turn the Worker array into a pointer and set the arguments as "new" and I got a working program, also it took out the overloading operator problem.