Darren New schrieb:
> clipka wrote:
>> Fun fact about structs in C++: They /are/ classes. Only major
>> difference (IIRC) being that their members default to "public:".
>
> That much I knew already. But I don't know if C structs are C++ structs
> for sure. :-)
Well, C structs are fully compatible to C++ structs, aren't they? You
can link a C++ program against any C library; and you can compile a C
library with a C++ compiler, and still link it to a C program. So...?
Post a reply to this message
|