the 'new' keyword

CodeLite installation/troubleshooting forum
alandaglish
CodeLite Curious
Posts: 1
Joined: Thu Nov 18, 2010 12:01 am
Genuine User: Yes
IDE Question: c++
Contact:

the 'new' keyword

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: the 'new' keyword

Post 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
Make sure you have read the HOW TO POST thread
Post Reply