On Wed, 17 Jun 1998, Glynn Clements wrote:

->
->James wrote:
->
->> void next_1 (line **in)
->> {
->>     /* this is where i am having difficulties, gcc gives this error:
->>        passback.c:9: request for member `next' in something not a structure 
->>        or union */
->>     *in = in->next;
->
->Try
->
->      *in = (*in)->next;
->
->`in' is a pointer to a pointer; `*in' is a pointer to a `line'.

isn't C a nice readable language :)

-[[EMAIL PROTECTED]]-------------------------------------------------
Http://x-map.home.ml.org                  Mailto : [EMAIL PROTECTED]
---[Quote Of The Day]----------------------------------------------------------
Those of you who think you know everything are very annoying to those
of us who do.
-------------------------------------------------------------------------------

Reply via email to