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

C / C++ / MFC

 
GeneralRe: recv no blocking Pin
mosine29-Jun-15 22:52
mosine29-Jun-15 22:52 
GeneralRe: recv no blocking Pin
CPallini29-Jun-15 23:01
mveCPallini29-Jun-15 23:01 
GeneralRe: recv no blocking Pin
mosine29-Jun-15 23:06
mosine29-Jun-15 23:06 
GeneralRe: recv no blocking Pin
CPallini29-Jun-15 23:24
mveCPallini29-Jun-15 23:24 
GeneralRe: recv no blocking Pin
Daniel Pfeffer30-Jun-15 8:12
professionalDaniel Pfeffer30-Jun-15 8:12 
GeneralRe: recv no blocking Pin
Albert Holguin30-Jun-15 13:26
professionalAlbert Holguin30-Jun-15 13:26 
GeneralRe: recv no blocking Pin
Daniel Pfeffer30-Jun-15 17:53
professionalDaniel Pfeffer30-Jun-15 17:53 
GeneralRe: recv no blocking Pin
Albert Holguin1-Jul-15 4:02
professionalAlbert Holguin1-Jul-15 4:02 
GeneralRe: recv no blocking Pin
Albert Holguin30-Jun-15 13:27
professionalAlbert Holguin30-Jun-15 13:27 
QuestionCan a modeless Dialog Box be a main window "m_pMainWnd" Pin
ForNow29-Jun-15 5:07
ForNow29-Jun-15 5:07 
AnswerRe: Can a modeless Dialog Box be a main window "m_pMainWnd" Pin
Richard MacCutchan29-Jun-15 5:12
mveRichard MacCutchan29-Jun-15 5:12 
GeneralRe: Can a modeless Dialog Box be a main window "m_pMainWnd" Pin
ForNow29-Jun-15 5:22
ForNow29-Jun-15 5:22 
QuestionCan anybody help me with converting this example for x64? Pin
Member 802436529-Jun-15 2:42
Member 802436529-Jun-15 2:42 
SuggestionRe: Can anybody help me with converting this example for x64? Pin
Richard MacCutchan29-Jun-15 3:36
mveRichard MacCutchan29-Jun-15 3:36 
QuestionQ: CTreeCtrl: How to over-ride default selection of item Pin
ShivaPrasadGadapa28-Jun-15 23:43
ShivaPrasadGadapa28-Jun-15 23:43 
QuestionDraw in front of bitmap Pin
lor7527-Jun-15 8:11
lor7527-Jun-15 8:11 
AnswerRe: Draw in front of bitmap Pin
Richard MacCutchan27-Jun-15 21:11
mveRichard MacCutchan27-Jun-15 21:11 
GeneralRe: Draw in front of bitmap Pin
lor7527-Jun-15 22:22
lor7527-Jun-15 22:22 
QuestionClass or object? Pin
Vaclav_26-Jun-15 5:32
Vaclav_26-Jun-15 5:32 
SuggestionRe: Class or object? Pin
David Crow26-Jun-15 5:54
David Crow26-Jun-15 5:54 
AnswerRe: Class or object? Pin
Maximilien26-Jun-15 7:24
Maximilien26-Jun-15 7:24 
AnswerRe: Class or object? PinPopular
CPallini26-Jun-15 8:05
mveCPallini26-Jun-15 8:05 
GeneralRe: Class or object? Pin
Albert Holguin26-Jun-15 10:26
professionalAlbert Holguin26-Jun-15 10:26 
AnswerRe: Class or object? Pin
Albert Holguin26-Jun-15 10:30
professionalAlbert Holguin26-Jun-15 10:30 
AnswerRe: Class or object? Pin
Stefan_Lang30-Jun-15 23:50
Stefan_Lang30-Jun-15 23:50 
If you intend to follow the object-oriented paradigm, then prefixing a variable name with 'o' for 'object' makes about as much sense as prefixing it with 'v' for 'variable'. You might still consider this sensible, to visibly discern them from type names, constants, and functions though. YMMV.

As for 'c' (class) prefix, it's often used to distinguish type names from e. g. structs, integral types, enums, etc.. I used (and still use) this a lot, but the longer I think about it the less sense it appears to make: modern editors provide all the information you need by just hovering over the name in question, much more information in fact than you could ever sensibly pack into a prefix. The prefix therefore only carries valuable information if you tend to print out code and prefer analyzing code on paper. Again, not my preference, but YMMV.
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

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.