Add a member function
Void Employee::format(char buffer[], int buffer_maxlength
to the Employee class. The member function should fill the buffer with the name and salary of the employee. Be sure not to overrun the buffer. It can hold buffer_maxlength characters, not including the’\0’ terminator. (That is, the buffer has buffer_maxlength + 1 bytes available.) Be sure to provide a ‘\0’.
1
Expert's answer
2013-06-11T08:02:11-0400
void& Employee::format(char buffer[], int buffer_maxlength) { char *wch = new char;
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment