Answer to Question #24742 in C++ for Rohan Saha

Question #24742
Write a function in C++ to read and display the details of all the users whose status is 'A'(i.e Active) from a binary file "USERS.DAT". Assuming the binary file"USER.DAT" is containing objects of class USER which is defined as follow:
class USER
{int UID; // User ID
char UNAME[20]; //Username
char Status; //User type: A Active I Inactive
public:
void Register(); //function to enter content
void show(); //function to display all dat members
char GetStatus() {return Status;}
};
0
Expert's answer

Answer in progress...

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