Which library (.h) contains delete? c/c++
No header file (it''s a header file, not a library) defines delete. It''s built into the language. It''s a keyword, not a function.
How appropriate. You fight like a cow.
How appropriate. You fight like a cow.
Mmm, ok.
My compiler won't recognize it anyway. I use gcc
`delete' undeclared (first use in this function)
Any idea?
EDIT: This is where it gives me error
delete [] g_3DModel.pObject.pFaces;
[edited by - Tompa on October 22, 2003 3:57:46 AM]
My compiler won't recognize it anyway. I use gcc
`delete' undeclared (first use in this function)
Any idea?
EDIT: This is where it gives me error
delete [] g_3DModel.pObject.pFaces;
[edited by - Tompa on October 22, 2003 3:57:46 AM]
Well don''t use gcc. Use its g++ name (though either name can be used to compile either language, the g++ name links the right libraries automagically, gcc does not). And make sure that your file is written in C++. There is no such language as "C/C++".
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement