writing operatorthank you all I rewrite the code as per your advices and now it works
writing operatorI get the following error: C++ member (declared at line 10) is inaccessible line ten of my code is ...
writing operatorthe question is:modify the writing operator so it can read information about the route you can use ...
set method c++ modify the set method so it can change the nbOfWagons and weightPerWagon [code]public: Freight...
derivate classs in c++modify the implicit constructor of freighttrainroute it will initialize the nbOgWagons with 0, the ...