Simple Array
Simple Array
- Subject: Simple Array
- From: Nicolai <email@hidden>
- Date: Thu, 20 Sep 2001 18:21:30 +0200
Here is maybe a very easy question:
In C++ I declare a variable like this:
double * pDoubleArray;
Allocation:
pDoubleArray = new double[size];
Initialization:
pDoubleArray[position] = dNumber;
Deallocation:
delete [] pDoubleArray;
pDoubleArray = NULL;
Does anyone know how I do the same in ObjC???
Regards, Nicolai.