| 20 | } |
| 21 | |
| 22 | int main() |
| 23 | { |
| 24 | // #A Passing differently spelled origins |
| 25 | print("Steering"s, "angle"s, 90); |
| 26 | print("steering"s, "angle"s, 75); |
| 27 | |
| 28 | // #B Declaring a global variable for the steering origin |
| 29 | static const auto originSteering{"Steering"s}; |
| 30 | |
| 31 | // #C Ok, use of the global variable |
| 32 | print(originSteering, "angle"s, 90); |
| 33 | |
| 34 | // #D Passing steering instead of Steering |
| 35 | print("steering"s, "angle"s, 75); |
| 36 | } |