Click here to Skip to main content
15,893,161 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWinCE memory management Pin
Avneesh Bhatnagar29-Jun-01 9:29
Avneesh Bhatnagar29-Jun-01 9:29 
GeneralConsole App Help Pin
29-Jun-01 8:55
suss29-Jun-01 8:55 
GeneralCreating a document/view pair Pin
Jake Palmer29-Jun-01 8:40
Jake Palmer29-Jun-01 8:40 
GeneralRe: Creating a document/view pair Pin
J Patel29-Jun-01 8:44
J Patel29-Jun-01 8:44 
GeneralRe: Creating a document/view pair Pin
Jake Palmer29-Jun-01 9:07
Jake Palmer29-Jun-01 9:07 
QuestionCStatusBar in a dialog? Pin
29-Jun-01 7:44
suss29-Jun-01 7:44 
QuestionWhat happened here????? Wrong variable type??? Pin
Richard Cheng29-Jun-01 7:29
Richard Cheng29-Jun-01 7:29 
AnswerRe: What happened here????? Wrong variable type??? Pin
Michael Dunn29-Jun-01 7:33
sitebuilderMichael Dunn29-Jun-01 7:33 
Are AlphaTotal, PrevAlphaTotal, etc. all integral types? Probably so. Use floating point types (or cast the variables to doubles) otherwise the division operator does an integer divide, which throws away any remainder. That's why 200/500*1000 is 0 - 200/500 is an integer divide and returns 0.

--Mike--
http://home.inreach.com/mdunn/
"Holding the away team at bay with a non-functioning phaser was an act of unmitigated gall. I admire gall."
  Lt. Cmdr. Worf
GeneralRe: What happened here????? Wrong variable type??? Pin
Richard Cheng29-Jun-01 7:54
Richard Cheng29-Jun-01 7:54 
GeneralRe: What happened here????? Wrong variable type??? Pin
Richard Cheng29-Jun-01 7:58
Richard Cheng29-Jun-01 7:58 
GeneralRe: What happened here????? Wrong variable type??? Pin
Michael Dunn29-Jun-01 11:55
sitebuilderMichael Dunn29-Jun-01 11:55 
GeneralLoading a bitmap over a network Pin
Jack Mott29-Jun-01 7:12
Jack Mott29-Jun-01 7:12 
GeneralRe: Loading a bitmap over a network Pin
Drake Elsari29-Jun-01 7:20
Drake Elsari29-Jun-01 7:20 
GeneralRe: Loading a bitmap over a network Pin
Jack Mott29-Jun-01 7:35
Jack Mott29-Jun-01 7:35 
GeneralRe: Loading a bitmap over a network Pin
Drake Elsari30-Jun-01 14:52
Drake Elsari30-Jun-01 14:52 
GeneralPainting a bitmap over a CStatic Bitmap Pin
29-Jun-01 7:07
suss29-Jun-01 7:07 
GeneralRe: Painting a bitmap over a CStatic Bitmap Pin
29-Jun-01 12:20
suss29-Jun-01 12:20 
GeneralRe: Painting a bitmap over a CStatic Bitmap Pin
29-Jun-01 13:56
suss29-Jun-01 13:56 
GeneralArrays n'stuff Pin
John Uhlenbrock29-Jun-01 7:04
John Uhlenbrock29-Jun-01 7:04 
GeneralRe: Arrays n'stuff Pin
Michael Dunn29-Jun-01 7:36
sitebuilderMichael Dunn29-Jun-01 7:36 
GeneralRe: Arrays n'stuff Pin
John Uhlenbrock29-Jun-01 10:32
John Uhlenbrock29-Jun-01 10:32 
GeneralRe: Arrays n'stuff Pin
Ben Burnett29-Jun-01 11:34
Ben Burnett29-Jun-01 11:34 
QuestionHow do I get LOGFONT from an IFont without using CFont? Pin
Bart-Man29-Jun-01 6:18
Bart-Man29-Jun-01 6:18 
AnswerRe: How do I get LOGFONT from an IFont without using CFont? Pin
PJ Arends29-Jun-01 17:00
professionalPJ Arends29-Jun-01 17:00 
AnswerRe: How do I get LOGFONT from an IFont without using CFont? Pin
Ben Burnett29-Jun-01 17:01
Ben Burnett29-Jun-01 17:01 

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.