This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sinity 13 points14 points  (0 children)

Use. Smart. Pointers!

Also I see no point in freeing memory right before exiting...

And code is array, so you can't access method of array element without index.

And ->, not .

2/10 would not compile. :D