Click here to Skip to main content
15,901,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can I Get explaination for ColorDialog(RGB(255, 0, 0)) Pin
toxcct15-Apr-07 22:33
toxcct15-Apr-07 22:33 
QuestionAccessing a new Environment Variable? Pin
gsoap12315-Apr-07 18:48
gsoap12315-Apr-07 18:48 
AnswerRe: Accessing a new Environment Variable? Pin
Blake Miller17-Apr-07 6:00
Blake Miller17-Apr-07 6:00 
QuestionWait for new process [modified] Pin
Gurkenscheibe15-Apr-07 12:48
Gurkenscheibe15-Apr-07 12:48 
AnswerRe: Wait for new process Pin
bob1697215-Apr-07 18:50
bob1697215-Apr-07 18:50 
GeneralRe: Wait for new process Pin
Gurkenscheibe15-Apr-07 22:43
Gurkenscheibe15-Apr-07 22:43 
QuestionTrouble Conceptualizing the Purpose of Pointers Pin
Robert Nicholas15-Apr-07 9:58
Robert Nicholas15-Apr-07 9:58 
AnswerRe: Trouble Conceptualizing the Purpose of Pointers Pin
George L. Jackson15-Apr-07 12:27
George L. Jackson15-Apr-07 12:27 
Here are a couple reasons to use pointers:

1) Dynamically allocating memory.

Once you dynamically create a type, you need a pointer to locate it and employ it. Also, dynamically a type or a collection of types, makes your applcation more scalable.

2) Passing large objects or collections by reference.

Passing a large object to a function by value means you have to copy the object and waste time and memory. If you pass it by reference via pointers, only the pointer gets copied.

"We make a living by what we get, we make a life by what we give." --Winston Churchill

GeneralRe: Trouble Conceptualizing the Purpose of Pointers Pin
pbraun15-Apr-07 12:48
pbraun15-Apr-07 12:48 
GeneralRe: Trouble Conceptualizing the Purpose of Pointers Pin
Robert Nicholas18-Apr-07 13:41
Robert Nicholas18-Apr-07 13:41 
GeneralRe: Trouble Conceptualizing the Purpose of Pointers Pin
pbraun18-Apr-07 14:27
pbraun18-Apr-07 14:27 
AnswerRe: Trouble Conceptualizing the Purpose of Pointers Pin
Mark Salsbery15-Apr-07 13:32
Mark Salsbery15-Apr-07 13:32 
GeneralRe: Trouble Conceptualizing the Purpose of Pointers Pin
George L. Jackson15-Apr-07 15:18
George L. Jackson15-Apr-07 15:18 
GeneralRe: Trouble Conceptualizing the Purpose of Pointers Pin
Robert Nicholas18-Apr-07 13:32
Robert Nicholas18-Apr-07 13:32 
AnswerRe: Trouble Conceptualizing the Purpose of Pointers Pin
John R. Shaw16-Apr-07 6:45
John R. Shaw16-Apr-07 6:45 
QuestionHow to terminate a process produced by ShellExecute Pin
sunshine jeffrey15-Apr-07 6:58
sunshine jeffrey15-Apr-07 6:58 
AnswerRe: How to terminate a process produced by ShellExecute Pin
bob1697215-Apr-07 7:21
bob1697215-Apr-07 7:21 
AnswerRe: How to terminate a process produced by ShellExecute Pin
Michael Dunn15-Apr-07 8:57
sitebuilderMichael Dunn15-Apr-07 8:57 
GeneralRe: How to terminate a process produced by ShellExecute Pin
sunshine jeffrey15-Apr-07 9:22
sunshine jeffrey15-Apr-07 9:22 
GeneralRe: How to terminate a process produced by ShellExecute Pin
Michael Dunn15-Apr-07 9:36
sitebuilderMichael Dunn15-Apr-07 9:36 
GeneralRe: How to terminate a process produced by ShellExecute Pin
Stephen Hewitt15-Apr-07 13:25
Stephen Hewitt15-Apr-07 13:25 
GeneralRe: How to terminate a process produced by ShellExecute Pin
Mark Salsbery15-Apr-07 13:35
Mark Salsbery15-Apr-07 13:35 
GeneralRe: How to terminate a process produced by ShellExecute Pin
sunshine jeffrey16-Apr-07 5:50
sunshine jeffrey16-Apr-07 5:50 
QuestionWhat is message loop Pin
dinesh_kr01615-Apr-07 6:27
dinesh_kr01615-Apr-07 6:27 
AnswerRe: What is message loop Pin
bob1697215-Apr-07 7:06
bob1697215-Apr-07 7: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.