Answer to Question #88755 in C++ for Shivam

Question #88755
Write a C++ program to write 5 records into a binary file "EMP. DAT" corresponding to the following class emp.

class emp
{
into eno;
char ename[20];
public:
void getdata ( )
{ cout <<"Enter employment no";
cin >>eno;
cout <<"Enter name ";
cin>>ename; }
void put data ( )
{ cout <<"empno = "<<eno <<endl;
cout <<"Name= " <<ename <<endl; } };
1
Expert's answer
2019-04-28T07:32:56-0400
Dear Shivam, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS