Click here to Skip to main content
16,005,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Array pointer lost Pin
toxcct14-Feb-07 4:44
toxcct14-Feb-07 4:44 
GeneralRe: Array pointer lost Pin
Renato Carvalho14-Feb-07 4:55
Renato Carvalho14-Feb-07 4:55 
GeneralRe: Array pointer lost [modified] Pin
toxcct14-Feb-07 4:59
toxcct14-Feb-07 4:59 
GeneralRe: Array pointer lost Pin
Renato Carvalho14-Feb-07 5:04
Renato Carvalho14-Feb-07 5:04 
GeneralRe: Array pointer lost Pin
toxcct14-Feb-07 5:08
toxcct14-Feb-07 5:08 
GeneralRe: Array pointer lost Pin
Renato Carvalho14-Feb-07 5:17
Renato Carvalho14-Feb-07 5:17 
AnswerRe: Array pointer lost Pin
David Crow14-Feb-07 5:01
David Crow14-Feb-07 5:01 
GeneralRe: Array pointer lost Pin
Renato Carvalho14-Feb-07 5:33
Renato Carvalho14-Feb-07 5:33 
Man, it works! Big Grin | :-D
When i pass the adress of the pointer, everything is fine. Not a surprise for you, but a great pleasure for me.
Now i'm gonna follow this way trying to make it work for a array of structures.
Thanks

void test (int **num)
{
*num = new int;
**num = 5;
}

int doNothing (void)
{
int * x = NULL;
test(&x);

return 0;
}

GeneralRe: Array pointer lost Pin
Renato Carvalho14-Feb-07 5:45
Renato Carvalho14-Feb-07 5:45 
AnswerRe: Array pointer lost Pin
Michael ZY14-Feb-07 16:28
Michael ZY14-Feb-07 16:28 
QuestionDebug Without other Threads Stopped! Pin
reza matinnejad14-Feb-07 2:59
reza matinnejad14-Feb-07 2:59 
AnswerRe: Debug Without other Threads Stopped! [modified] Pin
toxcct14-Feb-07 3:12
toxcct14-Feb-07 3:12 
Questionediting read-only files Pin
ibtt114-Feb-07 2:52
ibtt114-Feb-07 2:52 
AnswerRe: editing read-only files Pin
toxcct14-Feb-07 2:57
toxcct14-Feb-07 2:57 
GeneralRe: editing read-only files Pin
jhwurmbach14-Feb-07 3:19
jhwurmbach14-Feb-07 3:19 
GeneralRe: editing read-only files Pin
ibtt114-Feb-07 4:32
ibtt114-Feb-07 4:32 
AnswerRe: editing read-only files Pin
jhwurmbach14-Feb-07 3:21
jhwurmbach14-Feb-07 3:21 
QuestionBItmap trail Pin
ceejeeb14-Feb-07 2:23
ceejeeb14-Feb-07 2:23 
QuestionRounding numbers (both ways) Pin
Johpoke14-Feb-07 1:35
Johpoke14-Feb-07 1:35 
AnswerRe: Rounding numbers (both ways) Pin
jhwurmbach14-Feb-07 1:45
jhwurmbach14-Feb-07 1:45 
AnswerRe: Rounding numbers (both ways) Pin
toxcct14-Feb-07 2:03
toxcct14-Feb-07 2:03 
AnswerRe: Rounding numbers (both ways) Pin
David Crow14-Feb-07 2:21
David Crow14-Feb-07 2:21 
AnswerRe: Rounding numbers (both ways) Pin
-Dy14-Feb-07 2:21
-Dy14-Feb-07 2:21 
AnswerRe: Rounding numbers (both ways) Pin
#realJSOP14-Feb-07 10:25
professional#realJSOP14-Feb-07 10:25 
GeneralRe: Rounding numbers (both ways) Pin
Johpoke14-Feb-07 2:29
Johpoke14-Feb-07 2:29 

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.