Binary File Questions:
Write a function Search() to search and display details of all flights, whose destination is “Mumbai” from a binary file “FLIGHT.DAT”.(flight.dat- fno, from (starting point), to (destination))
------------------------------------------------------------------
Write a function in to COUNTREC() count total no of records and display details of all flights, (flight.dat- fno,from (starting point), to (destination))
----------------------------------------------------------
Write a function in that would read the contents from the file GAME.DAT and creates a file named BASKET.DAT copying only those records from GAME.DAT where the game name is “BasketBall”.(basket.dat - gamename, participants)
--------------------------------------------------------
Write a function TOTALTeachers() to read each record of a binary file TEACH.DAT,find the total no of teacher, whose data is stored in the file and display the same.(emp.dat contains : scode,sname,NOT #no of teachers).