On Feb 19, 2008 12:57 AM, Robert Ryan <[EMAIL PROTECTED]> wrote:
> I found out today that a declaration has a type and a name - a definition has
> a type - a name - and a value.......so,
> int x; a declaration and int x=2; a definition ( and a declaration),
> but it is first a declaration because it first has a type (int), then a name
> (x)
Don't forget declarations and definitions also apply to functions and methods.
char **parse_text(const char *); //declaration, note the argument name
is optional here
char **parse_text(const char *text_to_parse) {
...
} //definition, argument name not optional
-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi