>>>I agree with your definition with the exception that in C++, a structure can have member functions (aka methods).
>>
>>Umm, no. A structure can contain a
pointer to a function, but a structure will not directly contain methods. As the gentleman from Georgia has pointed out, structures are contiguous blocks of memory, and it's kind of hard to squeeze a function into something that is a predefined block.
>
>Gentleman??? I've been called a lot of things in my time, but I can't recall being called
that! Geez, I must be getting old...:-)
George,
I know.. I've been getting called 'Sir' lately. And I still have most of my teeth.
<g>
Best,
DD
A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.