|
![](/i/fill.gif) |
On 11/11/2013 10:56 AM, scott wrote:
>> Ooo, I can explain this one for you:
>>
>> The difference between C++ and C# is... they bare absolutely no
>> resemblance to each other whatsoever!
>
> Bah! - I think if I change some "." to "::", then save my code with .cpp
> extension, and another copy with .hpp (after deleting out any actual
> implementation of methods) I should be good to go :-)
You might also need to rename all your "interfaces" to pure virtual
classes. Oh, and C++ has multiple inheritance. And by default C++ has
value semantics not reference semantics. Oh, and if you try to return a
local variable as the result of a function, your code may segfault. Oh,
and...
Post a reply to this message
|
![](/i/fill.gif) |