#define NewArray(type,count) ((type*)Allocate(sizeof(type)*(count)))
|
Parameters |
Description |
|
type |
type to determine size of array element to allocate. |
|
count |
count of elements to allocate in the array. |
A pointer to type. (this is important, since in C++ it's cast correctly to the destination type).
Allocate a new array of type.
Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
support@toolsfactory.com.|
Copyright (c) 2000+. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|