Home > Back-end > C builder how to two form Shared variables, including structure variables
C builder how to two form Shared variables, including structure variables
Time:09-28
A structure position, for example, how the FORM1 and FORM2 share, modify the data? Struct position { int x; Int y; Float p; };
Position the position [17] [41] [20].
CodePudding user response:
Contains the other side of the header file should be ok,
CodePudding user response:
No, I also defines the variables and the structure For example, Struct position { int x; int y; Float p; }; Position the position [17] [41] [20]. Int ABC; Modify the ABC in FORM2 form, see in the FORM1
CodePudding user response:
Modify the ABC in FORM2 form, in FORM1 See ABC has changed, but modify the position [0] [0] [0], z Do not change,