Write a program in C++ to maintain the information for a Train station regarding the arrival and departure of trains in that station. Program should have the feature for entreing information about a new train arrived or departed at any point of time during the program execution. From the maintained information following kind of reports must be generated.
Details of All Trains arrived at the station.
Details of All Trains departed from the station.
Details of All Trains arrived at the station on a particular date.
Details of All Trains departed from the station on a particular date.
Number of passengers arrived at the station on a particular date.
Number of passengers departed from the station on a particular date.
Number of All passengers arrived at the station.
Number of All passengers departed from the station.
Number of All passangers arrived the station by a given train number.
Number of All passangers departed the station by a given train number.