+ 1
Hey guys! I need your help. I made a program on Turbo C++ 3.0, on Railway Reservation System. It shows some errors.
The errors are: Line 95: Functions containing for are not expanded inline Line 126: Same error Line 171: Same Error Line 318: Undefined symbol 'time_t' Line 621: Declaration missing ; Line 621: Compound Statement missing } Please help in resolving these errors https://code.sololearn.com/c806QzSAHFY9/?ref=app
1 Respuesta
0
Fo the errors about functions containing for, pls see this thread:
https://cboard.cprogramming.com/cplusplus-programming/129780-what-does-borland-mean-functions-containing-not-expanded-inline.html
The undefined symbol is provided by library 'ctime'. Just include it.
For the last two errors, double check your semicolons and curly brackets. I saw a missing semicolon closing the do...while loop in line 591.
Also, get used to more frequent code-test rounds, testing less code at a time. Helps a lot when debugging.
Hope that helps.