   I don't have free?!
  I'm getting this as an error:Error2error C3861: 'free': identifier not foundI don't have any clue what that's about!  Help??   
  You'll probably need some code to show, or at least more info...   ;  This is prolly because the syntax of the identifier free is wrong, or because you forgot to include a header where this identifier is declared.   ;  Identifier not found means you never told the compiler what 'free' is. Is it a variable? A function? What does it do?In this case, you probably mean the 'free' from the standard C library. Try #include <malloc.h>at the top of your file.   ;  "free" isn't a built-in language keyword or anything (like C++'s new/delete). It's a standard library function. You need to include stdlib.h or malloc.hEDIT: Slow.   ;  Wow that was fast... thanks guys, I didn't realise it wasn't a default include in c++ .   ;  Purists would argue that free and malloc are not actually part of "true" C++.malloc and free are both holdovers from C. C++ replaced them with the built-in keywords new and delete which are much, much safer and easier to use. Additionally, new and delete interact properly with classes (new calls constructors and delete calls the destructor). In general, you should stick to using new and delete whenever you can help it.   ;  But do bear in mind that they cannot be used interchangabley so if you are using old code or a library that allocates memory with malloc or realloc, you HAVE to delete it with free, not "delete", and vice versa.Also bear in mind that malloc will not call constructors and free will not call destructors.   ;Quote:Original post by Tac-TicsIn this case, you probably mean the 'free' from the standard C library. Try #include <malloc.h>at the top of your file.malloc.h is not a standard header. The correct header for free (being a standard C function) is stdlib.h.   ;  Or better still - cstdlib