Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: while (*p++); Pin
Chintoo72327-Oct-05 5:42
Chintoo72327-Oct-05 5:42 
GeneralRe: while (*p++); Pin
Carsten Leue29-Oct-05 11:09
Carsten Leue29-Oct-05 11:09 
AnswerRe: while (*p++); Pin
TheGreatAndPowerfulOz27-Oct-05 8:53
TheGreatAndPowerfulOz27-Oct-05 8:53 
GeneralRe: while (*p++); Pin
TheGreatAndPowerfulOz27-Oct-05 8:57
TheGreatAndPowerfulOz27-Oct-05 8:57 
GeneralRe: while (*p++); Pin
Chintoo72327-Oct-05 16:38
Chintoo72327-Oct-05 16:38 
GeneralRe: while (*p++); Pin
TheGreatAndPowerfulOz28-Oct-05 3:18
TheGreatAndPowerfulOz28-Oct-05 3:18 
Questionc++ question Pin
dizzzzy2326-Oct-05 16:17
dizzzzy2326-Oct-05 16:17 
AnswerRe: c++ question Pin
Christian Graus26-Oct-05 16:42
protectorChristian Graus26-Oct-05 16:42 
I'm not sure I understand the question. You're creating an object *, is this a managed C++ question, or vanilla C++ ?

In C++, when you call new, the memory for the new object is stored on the heap. The pointer itself, the variable which stores the memory address of this new object, is on the stack, I believe.


Here[^] is an article I found with google on the topic.


Christian Graus - Microsoft MVP - C++
GeneralRe: c++ question Pin
dizzzzy2326-Oct-05 16:57
dizzzzy2326-Oct-05 16:57 
GeneralRe: c++ question Pin
Christian Graus26-Oct-05 17:00
protectorChristian Graus26-Oct-05 17:00 
GeneralRe: c++ question Pin
John R. Shaw26-Oct-05 17:31
John R. Shaw26-Oct-05 17:31 
GeneralRe: c++ question Pin
John R. Shaw26-Oct-05 17:05
John R. Shaw26-Oct-05 17:05 
GeneralRe: c++ question Pin
dizzzzy2326-Oct-05 17:07
dizzzzy2326-Oct-05 17:07 
GeneralRe: c++ question Pin
John R. Shaw26-Oct-05 17:40
John R. Shaw26-Oct-05 17:40 
GeneralRe: c++ question Pin
dizzzzy2326-Oct-05 17:54
dizzzzy2326-Oct-05 17:54 
GeneralRe: c++ question Pin
dizzzzy2326-Oct-05 18:04
dizzzzy2326-Oct-05 18:04 
GeneralRe: c++ question Pin
John R. Shaw26-Oct-05 18:12
John R. Shaw26-Oct-05 18:12 
GeneralRe: c++ question Pin
dizzzzy2326-Oct-05 18:15
dizzzzy2326-Oct-05 18:15 
GeneralRe: c++ question Pin
User 58385226-Oct-05 18:21
User 58385226-Oct-05 18:21 
GeneralRe: c++ question Pin
John R. Shaw26-Oct-05 19:13
John R. Shaw26-Oct-05 19:13 
GeneralRe: c++ question Pin
kakan26-Oct-05 20:32
professionalkakan26-Oct-05 20:32 
GeneralRe: c++ question Pin
Tim Smith27-Oct-05 9:17
Tim Smith27-Oct-05 9:17 
QuestionHow to create a coloured text only button Pin
Johnjfh26-Oct-05 12:27
Johnjfh26-Oct-05 12:27 
AnswerRe: How to create a coloured text only button Pin
Christian Graus26-Oct-05 13:02
protectorChristian Graus26-Oct-05 13:02 
GeneralRe: How to create a coloured text only button Pin
Johnjfh26-Oct-05 13:46
Johnjfh26-Oct-05 13:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.