Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #8631

Re: struct inside struct

Newsgroups comp.lang.c
From Fonz <fonz@bogus.from.address.nl>
Subject Re: struct inside struct
References <4e2a94c5$0$313$14726298@news.sunsite.dk> <cb4393dd-5f67-4720-b385-aebcb5a6c75b@o4g2000vbv.googlegroups.com>
Organization Skysmurf inc.
Message-ID <slrnj2le2a.kd2.fonz@spectrum.skysmurf.nl> (permalink)
Date 2011-07-23 12:02 +0000

Show all headers | View raw


Kleuskes & Moos wrote:

>> void print_parent_struct(struct parent s);
>> void print_parent_struct_p(struct parent* ps);
>
> Put the implementation here and loose the forward declarations.

Until some of the functions start calling each other and therefore
suddenly need to be defined in a particular order.

Function prototypes exist for a reason...

Fonz

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

struct inside struct arnuld <sunrise@invalid.address> - 2011-07-23 09:30 +0000
  Re: struct inside struct "Kleuskes & Moos" <kleuske@xs4all.nl> - 2011-07-23 04:32 -0700
    Re: struct inside struct Fonz <fonz@bogus.from.address.nl> - 2011-07-23 12:02 +0000
      Re: struct inside struct pete <pfiland@mindspring.com> - 2011-07-23 20:05 -0400
        Re: struct inside struct "Kleuskes & Moos" <kleuske@xs4all.nl> - 2011-07-24 01:20 -0700
    Re: struct inside struct Ike Naar <ike@iceland.freeshell.org> - 2011-07-24 10:27 +0000
      Re: struct inside struct "Kleuskes & Moos" <kleuske@xs4all.nl> - 2011-07-24 03:34 -0700

csiph-web