E
EvanB
How could I convert the following C code into a C++ equivalent? I have no
idea how to do the formatting in C++.
void OutputPay(Employee *emp){
printf(“%06X %8.3f\n”,emp->DID, emp->DPay);
emp->DPaid = TRUE;
}
Thanks in advance,
Evan
idea how to do the formatting in C++.
void OutputPay(Employee *emp){
printf(“%06X %8.3f\n”,emp->DID, emp->DPay);
emp->DPaid = TRUE;
}
Thanks in advance,
Evan