#: 7131 S3/Languages
02-Oct-90 17:51:32
Sb: #7116-#c_problem
Fm: Pete Lyall 76703,4230
To: ANDY THIBODEAU 76636,2300 (X)
Andy -
Couple of things poke me in the eye....
struct sgtbuf *buffer - declares a pointer to a structure of type sgtbuf...
BUT... where is the storage for it? Also, how does the pointer get initialized
to point to it.
Perhaps you'd better try something like:
struct sgtbuf buffer, *bp;
bp = &buffer;
Also - when using pointers to structures, you need to use the '->' connector
vice the '.'. Example:
buffer->t_sec (or whatever)...
Pete
There is 1 Reply.
|