Original Post
is there any way to find the memory allocated for an array? for example, i want to use a char* as a parameter to a function, and copy some stuff into it. but, the memory is allocated and deleted outside the function. so, how can i find out if the char* was allocated with enough space (at least 10, i.e. char* feh = new char[10] ?
i basically just want to copy some crap in there, but only if there is enough room for it.
--- krez (krezisback@aol.com)