|
COMP2113
COMP2113_ENGG1340 Programming technologies and Computer programming II [Section 2BC] [2023]
|
#include <iostream>#include <cstdlib>#include <string>
Go to the source code of this file.
Classes | |
| struct | Car |
Functions | |
| void | appendCar (Car *&head, string id) |
| int | main () |
| void | printTrain (Car *&head) |
| void appendCar | ( | Car *& | head, |
| string | id ) |
Definition at line 30 of file train.cpp.
References Car::id, and Car::next.
Referenced by main().

| int main | ( | void | ) |
Definition at line 15 of file train.cpp.
References appendCar(), and printTrain().
