Click here to Skip to main content
16,008,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: database database Pin
Steve S5-Dec-03 5:50
Steve S5-Dec-03 5:50 
GeneralDisplaying Images Pin
ineedhelp4-Dec-03 22:54
ineedhelp4-Dec-03 22:54 
GeneralRe: Displaying Images Pin
Monty25-Dec-03 1:45
Monty25-Dec-03 1:45 
GeneralRe: Displaying Images Pin
Big Art5-Dec-03 5:38
Big Art5-Dec-03 5:38 
Generalvoid-casting unused return values Pin
Johann Gerell4-Dec-03 22:42
Johann Gerell4-Dec-03 22:42 
GeneralRe: void-casting unused return values Pin
фил4-Dec-03 23:10
фил4-Dec-03 23:10 
GeneralRe: void-casting unused return values Pin
Mike Dimmick4-Dec-03 23:44
Mike Dimmick4-Dec-03 23:44 
GeneralRe: void-casting unused return values Pin
cmk5-Dec-03 11:40
cmk5-Dec-03 11:40 
This style used to be used by UNIX programmers to state "yes i know the function returns 'x', but i have no use for the return value".

This was a bit of a fallout from the belief that if a function returned a value the value should be checked (religiously).

It was most often used for things like printf(), or when the function returned an error code, but that there was nothing usefull the program could do in case of an error (e.g. testing if malloc() returned null).

It is purely stylistic.


...cmk

Rosencrantz: I don't believe in it anyway.
Guildenstern: What
Rosencrantz: England
Guildenstern: Just a conspiracy of cartographers then.

Save the whales - collect the whole set

GeneralRe: void-casting unused return values Pin
Joe Woodbury5-Dec-03 20:54
professionalJoe Woodbury5-Dec-03 20:54 
Questionstandalone CHeaderCtrl: how to make text non-bold? Pin
ckorda4-Dec-03 22:41
ckorda4-Dec-03 22:41 
AnswerRe: standalone CHeaderCtrl: how to make text non-bold? Pin
Jack_Cai5-Dec-03 2:48
Jack_Cai5-Dec-03 2:48 
GeneralRe: standalone CHeaderCtrl: how to make text non-bold? Pin
ckorda5-Dec-03 4:45
ckorda5-Dec-03 4:45 
Answerthis is how to make a CHeaderCtrl non-bold (1 line) Pin
ckorda5-Dec-03 9:41
ckorda5-Dec-03 9:41 
GeneralLoading all the Icons name from the local or remote directory into a combo box Pin
Ravindran4-Dec-03 22:29
Ravindran4-Dec-03 22:29 
GeneralRe: Loading all the Icons name from the local or remote directory into a combo box Pin
фил5-Dec-03 3:44
фил5-Dec-03 3:44 
GeneralDisplay bmp file in windows Pin
suneetchandok4-Dec-03 22:08
susssuneetchandok4-Dec-03 22:08 
GeneralRe: Display bmp file in windows Pin
Monty25-Dec-03 1:49
Monty25-Dec-03 1:49 
GeneralObject-oriented design in a pure Win32 application Pin
Rickard Andersson204-Dec-03 21:57
Rickard Andersson204-Dec-03 21:57 
GeneralRe: Object-oriented design in a pure Win32 application Pin
Johann Gerell4-Dec-03 22:17
Johann Gerell4-Dec-03 22:17 
GeneralRe: Object-oriented design in a pure Win32 application Pin
Michael P Butler5-Dec-03 2:37
Michael P Butler5-Dec-03 2:37 
QuestionMFC-Dialog based: Is ther something like "OnShow" ?? Pin
bjolletts4-Dec-03 21:57
bjolletts4-Dec-03 21:57 
AnswerRe: MFC-Dialog based: Is ther something like "OnShow" ?? Pin
forjer5-Dec-03 2:49
forjer5-Dec-03 2:49 
GeneralApplication/MFC C++ with graphics interaction Pin
Dennis_lyb4-Dec-03 21:41
Dennis_lyb4-Dec-03 21:41 
GeneralCFileDialog save as Pin
letymau4-Dec-03 20:57
letymau4-Dec-03 20:57 
GeneralRe: CFileDialog save as Pin
Mike Dimmick4-Dec-03 23:47
Mike Dimmick4-Dec-03 23:47 

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.