Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

sepples

Name: Anonymous 2009-01-19 18:16

Hey /prog/
I never really used C or C++ before, other than when I started learning programming. I want to do something in one of them, (maybe an OS lol) but I'm not very confident about allocating/freeing up memory (I haven't done it before often).
Just to refresh my memory, as long as I use malloc and free with C and new and delete keywords with C++ I'm safe, right? And can I use malloc and free in C++ too?

Also, discuss Objective-C and the Sepplesox I heard about before.

Name: Anonymous 2009-01-19 18:26

>>7
forgot my space

>>6
If you're working with objects, you need to use new/delete so that constructors and destructors are called.
I know that already, but thanks.

Was Objective-C the wierd thing with BEGIN_PUBLIC_MEMBERS or whatever those macros were?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List