here is the code for my header file. when I run the program I get this error message:
Error 1 error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'consultCo::employee' (or there is no acceptable conversion)
Im also not sure if my newemployee function is doing what I would like it to.
Well, when you create two employees (info 0 and info 1) you never define what you mean when you use any sort of display command. What you need to do is create a function that displays the values of name, rate, and social. Otherwise, your code isn't aware of how to display the contents of the structure- it has to be told how.