I am working on a program that keeps inventory of vehicles, so I created a struct for it. It also needs to keep a list of the drivers, so I created a nested struct for that. Her
How to modify a nested struct on a vector?
To set the driver of the N-th item from the vector of Vehicles, you'd use:
Vehicle::Driver driver_dude; ... ... vtnewV[N-1].dude = driver_dude;