Slip 2 - B) Write a C++ program to create a class Movie with data members M_Name, Release_Year, director_Name and Budget. (Use File Handling) Write necessary member functions to: i. Accept details for ‘n’ Movies from user and store it in a file “Movie.txt”. ii. Display Movie details from a file. iii. Count the number of objects stored in a file.
0 Comments