In article <futlbk$sb3$>,
Andrey Tarasevich <> wrote:
>pradeep wrote:
>> Say I allocate an array with
>> a = new int(100);
>That does not allocate an array. This does
> a = new int[100];
This is comp.lang.c . The above is a syntax error in C.
To the original poster: 'new' is not part of C. Please consult
a newsgroup for whatever programming language you are using.
For example, if you are using C++ then comp.lang.c++ would be appropriate.
--
"The first draught serveth for health, the second for pleasure,
the third for shame, the fourth for madness." -- Sir Walter Raleigh
|