I want to make a table like this:
Seq. Name Class Seat VIP? Mileage(km)
==== =============== ===== ==== ====== ==========
1. Peter B 5A VIP 1046km
2. David F 1A VIP 2150km
Do I need to use for loop, strncpy to do so?
Or do I need to use some other methods?
I am learning objected oriented programming and I just know it up to strings, pointer, array.
Thank you very much!