Periodic Table

Posts 16–17 of 17 · Page 2 of 2
Quote Originally Posted by Auxilium View Post


new is used with allocating memory in C++

classname* instance = new classname

you wouldnt use new without pointers because the memory is already allocated
Guess it's just managed then. If you don't construct a struct/class in managed before modifying it's properties you'll get *********enceExceptions because you've just said "Hydrogen is an element", but haven't actually allocated it an element yet.
malloc bitchs
Posts 16–17 of 17 · Page 2 of 2

Post a Reply

Tags for this Thread

None

Talk with us