Click here to Skip to main content
15,905,915 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: how to upload a file on a server at a perticular location? Pin
David Crow12-Sep-07 3:40
David Crow12-Sep-07 3:40 
QuestionHow to fixed such error?C2220 Pin
kcynic11-Sep-07 17:38
kcynic11-Sep-07 17:38 
AnswerRe: How to fixed such error?C2220 Pin
Stephen Hewitt11-Sep-07 17:46
Stephen Hewitt11-Sep-07 17:46 
AnswerRe: How to fixed such error?C2220 Pin
David Crow12-Sep-07 3:42
David Crow12-Sep-07 3:42 
QuestionGet and Set methods Pin
User 58385211-Sep-07 16:16
User 58385211-Sep-07 16:16 
AnswerRe: Get and Set methods Pin
George L. Jackson11-Sep-07 18:19
George L. Jackson11-Sep-07 18:19 
AnswerRe: Get and Set methods Pin
Nelek11-Sep-07 22:55
protectorNelek11-Sep-07 22:55 
AnswerRe: Get and Set methods Pin
Mark Salsbery12-Sep-07 8:30
Mark Salsbery12-Sep-07 8:30 
A couple thoughts...

Inline getters and setters should work just as fast as direct access.

An advantage of getters and setters is you can change the implementation without
having to change code anywhere else.  For example, if in the future you need to calculate
the "speed" member on the fly, all you'd have to do is implement that functionality in the getter
method.  All code that uses it stays the same.

Cheers,
Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

QuestionEnumProcesses Pin
dellthinker11-Sep-07 15:54
dellthinker11-Sep-07 15:54 
AnswerRe: EnumProcesses Pin
Hamid_RT11-Sep-07 19:39
Hamid_RT11-Sep-07 19:39 
AnswerRe: EnumProcesses Pin
Randor 11-Sep-07 20:39
professional Randor 11-Sep-07 20:39 
AnswerRe: EnumProcesses Pin
Randor 11-Sep-07 20:53
professional Randor 11-Sep-07 20:53 
QuestionMS OFFICE File Open Save Dialog Hooking Pin
JuggernautMsn11-Sep-07 14:00
JuggernautMsn11-Sep-07 14:00 
AnswerRe: MS OFFICE File Open Save Dialog Hooking Pin
Mark Salsbery11-Sep-07 15:14
Mark Salsbery11-Sep-07 15:14 
GeneralRe: MS OFFICE File Open Save Dialog Hooking Pin
JuggernautMsn11-Sep-07 15:19
JuggernautMsn11-Sep-07 15:19 
QuestionWhat's the diff between DLLs ? Pin
USAFHokie8011-Sep-07 10:16
USAFHokie8011-Sep-07 10:16 
AnswerRe: What's the diff between DLLs ? Pin
Chris Losinger11-Sep-07 10:38
professionalChris Losinger11-Sep-07 10:38 
GeneralRe: What's the diff between DLLs ? Pin
USAFHokie8011-Sep-07 10:59
USAFHokie8011-Sep-07 10:59 
GeneralRe: What's the diff between DLLs ? Pin
Chris Losinger11-Sep-07 11:17
professionalChris Losinger11-Sep-07 11:17 
GeneralRe: What's the diff between DLLs ? Pin
USAFHokie8011-Sep-07 11:29
USAFHokie8011-Sep-07 11:29 
GeneralRe: What's the diff between DLLs ? Pin
Mark Salsbery11-Sep-07 11:50
Mark Salsbery11-Sep-07 11:50 
GeneralRe: What's the diff between DLLs ? Pin
led mike11-Sep-07 11:49
led mike11-Sep-07 11:49 
QuestionAdd drop shadow to a child dialog Pin
dSolariuM11-Sep-07 6:09
dSolariuM11-Sep-07 6:09 
AnswerRe: Add drop shadow to a child dialog Pin
Stephen Hewitt11-Sep-07 14:30
Stephen Hewitt11-Sep-07 14:30 
QuestionRe: Add drop shadow to a child dialog Pin
nitin311-Sep-07 21:10
nitin311-Sep-07 21:10 

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.