Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
+1 vote
1.0k views
in Computer by (35 points)
Write a function in C++ to read and display the detail of all the members whose membership type is 'L' or 'M' ftom.a binary file "CLUB.DAT". Assume the binary file "CLUB.DAT" contains object of class CLUB,which is defined as follows:

  class CLUB  {

int Mno; //Member number

char Mname[20]; //Member name

char Type; //Member Type:L Life member M monthly Member G Guest

public:

void Register(); //Function to enter the content

void Display(); //Function to display all data members

char WhatType() {return Type;}

};

Please give answer of  every part of this question.

Don't give answer of a individual function.

Please log in or register to answer this question.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...