TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: ANDY THIBODEAU 76636,2300 (X)
from: Pete Lyall 76703,4230
date: 1990-10-03 20:52:51
subject: #7161-#c_problem

#: 7168 S3/Languages
    03-Oct-90  20:52:51
Sb: #7161-#c_problem
Fm: Pete Lyall 76703,4230
To: ANDY THIBODEAU 76636,2300 (X)

Andy -

Point is this:

If you're going to access stucture members using a pointer (which you were
apparently trying to do), you must use the construct:

   structure_pointer->structure_element

If you're wheeling directly off of the name of the structure:

   structure_name.structure_element.

Pete

P.S. A good text on C is the "C Primer Plus" by the Waite Group. Easy reading &
informative, lots of examples, and a sense of humor as well.

P.S.S. DELPHI? "Fightin' words" here (grin).. I help administrate this forum...

There is 1 Reply.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.