i cant help with cpp's but i can help with the selections, everything is exactly the same as a motorbike, except:
Pravy predni: front wheel
levy zadni: the main gear and pedals
pravy zadni: back wheel
slapky: same objects selected as levy zadni
slapky l: bottom pedal(viewing from left), and just the pedal, not the metal bits linking it to the main gear
slapky p: top pedal
memory lod:
osa slapek: two vertices showing the middle of the main gear, just like helicopter rotor animations
slapky: four vertices, looking from front, it has two vertices per pedal, on the left and right side and right in the middle of the pedals (from left)
osa slapky l: same as above but only one pedal, this one is the bottom pedal
osa slapky p: same as above but top