|
-
February 26th, 2008, 09:23 PM
#1
space in string
Hello everyone,
The space in string should use heap address memory space, not stack, right? But through debugging, for example,
Code:
string str = "hello";
why I can not see the invocation of new operator? Anyone could point out where STL string class allocates space on heap and using which function to allocate please (any other approach other than using new to allocate space on heap?)?
thanks in advance,
George
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|