Click here to Skip to main content
16,017,954 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPropertySheet Not move. Pin
Le@rner23-Mar-09 20:34
Le@rner23-Mar-09 20:34 
QuestionRe: PropertySheet Not move. Pin
David Crow24-Mar-09 3:15
David Crow24-Mar-09 3:15 
Questionwriting to text files Pin
Dercio23-Mar-09 19:48
Dercio23-Mar-09 19:48 
AnswerRe: writing to text files Pin
Eytukan23-Mar-09 19:58
Eytukan23-Mar-09 19:58 
AnswerRe: writing to text files Pin
«_Superman_»23-Mar-09 23:39
professional«_Superman_»23-Mar-09 23:39 
Questionpassing by reference Pin
Dercio23-Mar-09 19:45
Dercio23-Mar-09 19:45 
AnswerRe: passing by reference Pin
Eytukan23-Mar-09 19:56
Eytukan23-Mar-09 19:56 
AnswerRe: passing by reference Pin
Jijo.Raj23-Mar-09 19:59
Jijo.Raj23-Mar-09 19:59 
Hello Dercio,

1) To avoid creating unnecessary temporary copy of variable while calling functions.
2) More user friendly method than pointers to get data back from functions. For instance

void GetString( CString& Value ) 
{
   Value = "I've changed the value.";
}
...
CString csString;
GetString( csString );


Regards,
Jijo.

_____________________________________________________

http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.

GeneralRe: passing by reference Pin
led mike23-Mar-09 21:12
led mike23-Mar-09 21:12 
JokeRe: passing by reference Pin
CPallini23-Mar-09 22:32
mveCPallini23-Mar-09 22:32 
GeneralRe: passing by reference Pin
Eytukan23-Mar-09 23:10
Eytukan23-Mar-09 23:10 
JokeRe: passing by reference Pin
CPallini23-Mar-09 23:21
mveCPallini23-Mar-09 23:21 
QuestionDrag and drop between ListBox Pin
AnithaSubramani23-Mar-09 19:31
AnithaSubramani23-Mar-09 19:31 
AnswerRe: Drag and drop between ListBox Pin
Eytukan23-Mar-09 20:06
Eytukan23-Mar-09 20:06 
QuestionRe: Drag and drop between ListBox Pin
David Crow24-Mar-09 3:18
David Crow24-Mar-09 3:18 
QuestionHow to get handle of PowerPoint window from taskbar? Pin
Md. Ali Naser Khan23-Mar-09 19:25
Md. Ali Naser Khan23-Mar-09 19:25 
AnswerRe: How to get handle of PowerPoint window from taskbar? Pin
Eytukan23-Mar-09 20:00
Eytukan23-Mar-09 20:00 
GeneralRe: How to get handle of PowerPoint window from taskbar? Pin
Md. Ali Naser Khan24-Mar-09 0:24
Md. Ali Naser Khan24-Mar-09 0:24 
GeneralRe: How to get handle of PowerPoint window from taskbar? Pin
Eytukan24-Mar-09 1:16
Eytukan24-Mar-09 1:16 
QuestionAdding Images in Combobox Pin
Rakesh523-Mar-09 18:33
Rakesh523-Mar-09 18:33 
AnswerRe: Adding Images in Combobox Pin
Chandrasekharan P23-Mar-09 18:43
Chandrasekharan P23-Mar-09 18:43 
GeneralRe: Adding Images in Combobox Pin
Rakesh523-Mar-09 18:50
Rakesh523-Mar-09 18:50 
AnswerRe: Adding Images in Combobox Pin
Eytukan23-Mar-09 19:12
Eytukan23-Mar-09 19:12 
GeneralRe: Adding Images in Combobox Pin
Rakesh523-Mar-09 19:42
Rakesh523-Mar-09 19:42 
QuestionClosing of view Pin
prithaa23-Mar-09 18:06
prithaa23-Mar-09 18:06 

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.