quote:Original post by granat
I suppose a signed int is just a special case of an unsigned int but still it is NOT the same thing although similar.
Nope, an unsigned int is a signed int constrained to the natural numbers (ie, the set of natural numbers is a subset of the set of integers, which is a subset of the set of real numbers). Theoretically speaking, of course.
However, a struct is a class in C++. The differences are public rather than private default access specification and public rather than private default inheritance. You can have virtual functions, inherit from the suckers and so on and so forth.
quote:
We might have been over this several times but did everyone agree on the subject ?
Loser. Loo-hoo-hoo-hoo-ser-eeerr!
Seriously, though, this isn''t a question of opinion; it''s a statement of fact. Feel free to disagree. At least the next time you get a roasting on this issue I can smirk and say "I told you so".
[ GDNet Start Here | GDNet Search Tool | GDNet FAQ ]
[ MS RTFM [MSDN] | SGI STL Docs | Boost ]
[ Google! | Asking Smart Questions | Jargon File ]
Thanks to Kylotan for the idea!