Linked List Print Error Using Time Functions
问题 The program crashes when printing the timestamp. I believe the error is located in the function void flightRec_PrflightRecData(flightRecRead* thisFlight) which is designed to do three things: declare the time struct flighttime, flighttime is in POSIX format. Localtime converts the POSIX time to a human-readable time. The fourth specifier prints the converted time using asctime which prints it in Www Mmm dd hh:mm:ss yyyy format. The error is tb != NULL and shows other information specifying