testing for size of pointer
- Posted by Damien <damo at lakeregioncomputing.com> Aug 19, 2005
- 503 views
how do you get the size of a pointer? or rather the size of the value the pointer points to? say I am using a function from a C library that returns a pointer, the pointer points to a string, now when I try to peek() the pointer to get the string it only returns the first letter in that string. How do I get the size of the string being pointed to? Damo ---- "simple questions deserve complicated answers"