3 ms·
What Java does is pretty much equivalent to putting an asterisk in your C/C++ typedefs: typedef struct _foo* Foo;
by TazeTSchnitzel 12y ago
What Java does is pretty much equivalent to putting an asterisk in your C/C++ typedefs:
typedef struct _foo* Foo;
- metaobject 12y agoI'm guessing this is why you have to call "new" to create new objects in Java?
- TazeTSchnitzel 12y agoJava's new is similar to C++'s new as I understand it, yes. It allocates memory, initialises an object, and produces a pointer.