Page 1 of 1

the 'new' keyword

Posted: Thu Nov 18, 2010 12:06 am
by alandaglish
I am trying to use the 'new' keyword to dynamically allocate an array but Codelite does not seem to recognise it....am I doing something wrong, or where can I find a list of valid keywords

Re: the 'new' keyword

Posted: Thu Nov 18, 2010 12:36 am
by eranif
alandaglish wrote:Codelite does not seem to recognise it
codelite is NOT a compiler, it does not recognize / compiles your code. This is the job of the compiler.

You should search the web for a good C/C++ web site - this site is dedicated for codelite and not for compilers/C++ (FYI: 'new' is only valid in C++ and NOT in C)

Eran