declaration vs. defintion

From: Mark P (not_at_my.real.email)
Date: 10/31/04


Date: Sun, 31 Oct 2004 09:49:25 -0800

Is there any simple but complete explanation on the difference between a
  declaration and a definition. I feel I know the general idea having
seen a lot of examples in several books (Stroustrup, for example), but a
unifying picture would be helpful to me.



Relevant Pages

  • Re: declaration vs. defintion
    ... > Is there any simple but complete explanation on the difference between a ... > declaration and a definition. ... > unifying picture would be helpful to me. ... confusing w.r.t. classes. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Static function prototype
    ... any good explanation about it. ... declaration: If the definition appears before the function's first ... it mean that there is really no need to use extern (in the module ...
    (comp.lang.c)
  • Re: Static function prototype
    ... any good explanation about it. ... makes this not just good practice, ... declaration: If the definition appears before the function's first ...
    (comp.lang.c)
  • Re: Problem trying to get a constant with correct scope
    ... Sorry for the shortcut in my explanation. ... class ConstSearcher ...
    (comp.lang.ruby)
  • Re: declaration vs. defintion
    ... > Is there any simple but complete explanation on the difference between a ... based on your post (declaration). ... shake-hands with you. ... you offer (public members). ...
    (alt.comp.lang.learn.c-cpp)