Re: declaration vs. defintion
From: Anand Hariharan (mailto.anand.hariharan_at_gmail.com)
Date: 11/02/04
- Next message: jeffc: "Re: declaration vs. defintion"
- Previous message: Anand Hariharan: "Re: std::string, C strings and c_str()"
- Maybe in reply to: James Dennett: "Re: declaration vs. defintion"
- Next in thread: Mark P: "Re: declaration vs. defintion"
- Reply: Mark P: "Re: declaration vs. defintion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 2 Nov 2004 10:55:32 -0800
Mark P <not@my.real.email> wrote in message news:<cm38j602941@enews2.newsguy.com>...
> 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.
:-)
I would say that you are a guy who professes interest in C++. This is
based on your post (declaration).
Would that suffice for me to, say, do business with you? Maybe I
would like to know how big you are, say, before I extend my hand to
shake-hands with you (size). Maybe I would like to know what services
you offer (public members). For this, I have to know precisely what
you are (definition).
:-)
Does this help?
- Anand
- Next message: jeffc: "Re: declaration vs. defintion"
- Previous message: Anand Hariharan: "Re: std::string, C strings and c_str()"
- Maybe in reply to: James Dennett: "Re: declaration vs. defintion"
- Next in thread: Mark P: "Re: declaration vs. defintion"
- Reply: Mark P: "Re: declaration vs. defintion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|