Click here to Skip to main content
15,913,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dialogbox doesn't appear when Treelist control added Pin
nitingonsalves11-Feb-03 10:35
nitingonsalves11-Feb-03 10:35 
GeneralRe: Dialogbox doesn't appear when Treelist control added Pin
nitingonsalves11-Feb-03 10:46
nitingonsalves11-Feb-03 10:46 
GeneralTaskbar HELP! - MFC/C++ Pin
mister trunks11-Feb-03 8:54
mister trunks11-Feb-03 8:54 
GeneralShow macro code expanded in Visual Studio Pin
Aaron Schaefer11-Feb-03 8:21
Aaron Schaefer11-Feb-03 8:21 
GeneralRe: Show macro code expanded in Visual Studio Pin
Michael Dunn11-Feb-03 8:28
sitebuilderMichael Dunn11-Feb-03 8:28 
Generalround off problem Pin
wong190711-Feb-03 8:14
wong190711-Feb-03 8:14 
GeneralRe: round off problem Pin
Rickard Andersson2011-Feb-03 8:27
Rickard Andersson2011-Feb-03 8:27 
GeneralRe: round off problem Pin
PJ Arends11-Feb-03 8:35
professionalPJ Arends11-Feb-03 8:35 
Rickard Andersson wrote:
double a_bouble_val = 23,7;int an_integer = (int)a_double_val;


This, will assign an_integer to 24.


Actually, this will evaluate to 23. Casting a double to an int will always round to the whole number given (down for positive numbers, up for negative)



CPUA 0x5041

Sonork 100.11743 Chicken Little

"So it can now be written in stone as a testament to humanities achievments "PJ did Pi at CP"." Colin Davies

Within you lies the power for good - Use it!
GeneralRe: round off problem Pin
PJ Arends11-Feb-03 8:31
professionalPJ Arends11-Feb-03 8:31 
GeneralRe: round off problem Pin
Chris Losinger11-Feb-03 9:36
professionalChris Losinger11-Feb-03 9:36 
GeneralRe: round off problem Pin
David Chamberlain11-Feb-03 9:00
David Chamberlain11-Feb-03 9:00 
GeneralI subclassed a CStatic... Pin
User 988511-Feb-03 8:04
User 988511-Feb-03 8:04 
GeneralRe: I subclassed a CStatic... Pin
palbano11-Feb-03 8:17
palbano11-Feb-03 8:17 
GeneralRe: I subclassed a CStatic... Pin
User 988511-Feb-03 8:21
User 988511-Feb-03 8:21 
GeneralRe: I subclassed a CStatic... Pin
palbano11-Feb-03 9:10
palbano11-Feb-03 9:10 
GeneralRe: I subclassed a CStatic... Pin
User 988511-Feb-03 8:23
User 988511-Feb-03 8:23 
GeneralRe: I subclassed a CStatic... Pin
palbano11-Feb-03 8:34
palbano11-Feb-03 8:34 
GeneralRe: I subclassed a CStatic... Pin
User 988511-Feb-03 8:41
User 988511-Feb-03 8:41 
GeneralRe: I subclassed a CStatic... Pin
User 988511-Feb-03 9:09
User 988511-Feb-03 9:09 
GeneralRe: I subclassed a CStatic... Pin
palbano11-Feb-03 10:33
palbano11-Feb-03 10:33 
GeneralRe: I subclassed a CStatic... Pin
Oliver Anhuth11-Feb-03 23:33
Oliver Anhuth11-Feb-03 23:33 
GeneralListBox Question (non-MFC) Pin
Paddy11-Feb-03 8:01
Paddy11-Feb-03 8:01 
GeneralRe: ListBox Question (non-MFC) Pin
Dominik Reichl11-Feb-03 8:17
Dominik Reichl11-Feb-03 8:17 
GeneralRe: ListBox Question (non-MFC) Pin
palbano11-Feb-03 8:23
palbano11-Feb-03 8:23 
GeneralRe: ListBox Question (non-MFC) Pin
Paddy11-Feb-03 9:47
Paddy11-Feb-03 9: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.