Comment by Ogre
13 years ago
The Example link contains, I think, only two things that aren't valid C++. "self." (could be replaced by this-> or simply nothing in C++) and the ["stdio.h"] int printf... syntax for including just one thing.
Two and a half things I guess: the methods of MyObject are accessed by main but not declared public (C++ is private by default)
I don't know if that's good or bad, but it's not very compelling to me.
No comments yet
Contribute on Hacker News ↗