Click here to Skip to main content
16,016,345 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to send a message to the Parent window Pin
Mark Salsbery24-Oct-06 12:18
Mark Salsbery24-Oct-06 12:18 
GeneralRe: How to send a message to the Parent window Pin
prithaa24-Oct-06 18:48
prithaa24-Oct-06 18:48 
Questionhow can i hide console from the user when using _popen() Pin
mitil2039048230424-Oct-06 9:36
mitil2039048230424-Oct-06 9:36 
AnswerRe: how can i hide console from the user when using _popen() Pin
David Crow24-Oct-06 10:07
David Crow24-Oct-06 10:07 
GeneralRe: how can i hide console from the user when using _popen() Pin
mitil2039048230424-Oct-06 10:59
mitil2039048230424-Oct-06 10:59 
GeneralRe: how can i hide console from the user when using _popen() Pin
mitil2039048230424-Oct-06 12:33
mitil2039048230424-Oct-06 12:33 
QuestionParsing a integer value as a Parameter Pin
Phoenix10124-Oct-06 8:35
Phoenix10124-Oct-06 8:35 
AnswerRe: Parsing a integer value as a Parameter Pin
David Crow24-Oct-06 8:43
David Crow24-Oct-06 8:43 
Phoenix101 wrote:
That i wish to parse to a function by reference that receives a int value.


Pass-by-reference means to pass the variable's address (i.e., a pointer), like:

void foo(int *num)
{
}
...
int abc;
foo(&abc);
Pass-by-value means to pass the variable itself, like:

void foo(int num)
{
}
...
int abc;
foo(abc);
Lastly, if the function is expecting a reference, use:

void foo(int &num)
{
}
...
int abc;
foo(abc);



"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

"Judge not by the eye but by the heart." - Native American Proverb


GeneralRe: Parsing a integer value as a Parameter Pin
Phoenix10124-Oct-06 21:26
Phoenix10124-Oct-06 21:26 
AnswerRe: Parsing a integer value as a Parameter Pin
Nemanja Trifunovic24-Oct-06 9:39
Nemanja Trifunovic24-Oct-06 9:39 
QuestionA simple question about memory reallocation Pin
pani6824-Oct-06 8:25
pani6824-Oct-06 8:25 
AnswerRe: A simple question about memory reallocation Pin
David Crow24-Oct-06 8:29
David Crow24-Oct-06 8:29 
AnswerRe: A simple question about memory reallocation Pin
Mark Salsbery24-Oct-06 8:44
Mark Salsbery24-Oct-06 8:44 
AnswerRe: A simple question about memory reallocation Pin
Zac Howland24-Oct-06 10:57
Zac Howland24-Oct-06 10:57 
AnswerRe: A simple question about memory reallocation Pin
cmk24-Oct-06 11:25
cmk24-Oct-06 11:25 
GeneralRe: A simple question about memory reallocation Pin
Zac Howland24-Oct-06 11:36
Zac Howland24-Oct-06 11:36 
GeneralRe: A simple question about memory reallocation Pin
cmk25-Oct-06 6:11
cmk25-Oct-06 6:11 
GeneralRe: A simple question about memory reallocation Pin
Zac Howland25-Oct-06 6:28
Zac Howland25-Oct-06 6:28 
GeneralRe: A simple question about memory reallocation Pin
cmk25-Oct-06 8:10
cmk25-Oct-06 8:10 
GeneralRe: A simple question about memory reallocation Pin
Zac Howland25-Oct-06 8:35
Zac Howland25-Oct-06 8:35 
QuestionText does not show on toolbar Pin
peterchen24-Oct-06 7:35
peterchen24-Oct-06 7:35 
AnswerRe: Text does not show on toolbar Pin
Mark Salsbery24-Oct-06 7:59
Mark Salsbery24-Oct-06 7:59 
GeneralRe: Text does not show on toolbar Pin
peterchen24-Oct-06 13:02
peterchen24-Oct-06 13:02 
GeneralRe: Text does not show on toolbar Pin
Mark Salsbery24-Oct-06 13:14
Mark Salsbery24-Oct-06 13:14 
Questionnavigation for vectorRichEditBox Pin
prithaa24-Oct-06 7:11
prithaa24-Oct-06 7:11 

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.