Click here to Skip to main content
15,902,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Calling an existing form from another existing form Pin
Cedric Moonen5-Feb-09 20:06
Cedric Moonen5-Feb-09 20:06 
GeneralRe: Calling an existing form from another existing form Pin
regnwald6-Feb-09 15:31
regnwald6-Feb-09 15:31 
QuestionOperating system location (drive letter) Pin
FloatingMarc5-Feb-09 15:00
FloatingMarc5-Feb-09 15:00 
AnswerRe: Operating system location (drive letter) Pin
PIEBALDconsult5-Feb-09 15:18
mvePIEBALDconsult5-Feb-09 15:18 
AnswerRe: Operating system location (drive letter) Pin
David Crow5-Feb-09 15:26
David Crow5-Feb-09 15:26 
GeneralRe: Operating system location (drive letter) Pin
FloatingMarc5-Feb-09 19:41
FloatingMarc5-Feb-09 19:41 
Questionpointer help Pin
yellowine5-Feb-09 13:48
yellowine5-Feb-09 13:48 
AnswerRe: pointer help Pin
Saurabh.Garg5-Feb-09 15:23
Saurabh.Garg5-Feb-09 15:23 
Thats is because if you pass an argument as pointer then only changes in the value of the argument will be preserved. If you want to change the pointer itself then you have to use double poitner.

int *n1 = 0;
void Fun(int **v1, int *v2)
{
    *v1 = v2;
}

int main(int argc, char *argv[])
{
    int *n2 = new int;
    *n2 = 3;
    
    Fun(&n1, n2);
    // n1 and n2 both point to same memory location here.
    delete n2;
    return 0;
}


-Saurabh
QuestionTab control - the big fight Pin
daavena5-Feb-09 11:02
daavena5-Feb-09 11:02 
AnswerRe: Tab control - the big fight Pin
Jonathan Davies5-Feb-09 12:22
Jonathan Davies5-Feb-09 12:22 
QuestionResource Problems Pin
Largo Usagi5-Feb-09 9:19
Largo Usagi5-Feb-09 9:19 
AnswerRe: Resource Problems Pin
Stuart Dootson5-Feb-09 9:55
professionalStuart Dootson5-Feb-09 9:55 
Questionwin API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 8:13
mgbrain5-Feb-09 8:13 
AnswerRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 9:46
professionalStuart Dootson5-Feb-09 9:46 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 9:56
mgbrain5-Feb-09 9:56 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 10:12
professionalStuart Dootson5-Feb-09 10:12 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 10:27
mgbrain5-Feb-09 10:27 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 10:36
professionalStuart Dootson5-Feb-09 10:36 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 11:00
mgbrain5-Feb-09 11:00 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 11:08
professionalStuart Dootson5-Feb-09 11:08 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 11:25
mgbrain5-Feb-09 11:25 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 11:32
professionalStuart Dootson5-Feb-09 11:32 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
mgbrain5-Feb-09 11:39
mgbrain5-Feb-09 11:39 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
David Crow5-Feb-09 15:32
David Crow5-Feb-09 15:32 
GeneralRe: win API autorun.. I can't use this codes... help me please.. Pin
Stuart Dootson5-Feb-09 19:53
professionalStuart Dootson5-Feb-09 19:53 

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.