CompuServe Messages

Strings in C

    26-Nov-94 12:39:13
Sb: #44297-Strings in C
Fm: Jim Maddox 74667,2175
To: Shraddhan 70374,754
Shraddhan – I don't know if this will help or not, but I had a similar experience while breaking up a large program in TurboC. I ended up having to put my struct definitions in a header file which I #included in every file that made up the project. In your case, struct.h would contain your Atom structure, your main program (or another header) could define the Object[] array, and your subprogram would include the lines "#include <struct.h>" and "extern struct Atom Object[];". – Jim, on AutoPilot!