typedef struct{long body;char* name;}PILOT; typedef struct{PILOT* driver;char* name;}ROACH; PILOT* pilot1 = { name = "Pilot 1";} ROACH* vehicle1 = { name = "Vehicle 1"; driver = pilot1;} void test_structs_startup(){ pilot1.body = vehicle1; ROACH* temp_vehicle; temp_vehicle = (ROACH*)pilot1.body; error(temp_vehicle.name);}
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de