Click here to Skip to main content
15,890,717 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A question about programming style Pin
nguyenvhn28-Apr-04 15:55
nguyenvhn28-Apr-04 15:55 
GeneralRe: A question about programming style Pin
toxcct27-Apr-04 22:29
toxcct27-Apr-04 22:29 
QuestionCannot find dir.h???? Pin
zscuffha27-Apr-04 15:43
zscuffha27-Apr-04 15:43 
AnswerRe: Cannot find dir.h???? Pin
Jitendra gangwar27-Apr-04 19:45
Jitendra gangwar27-Apr-04 19:45 
GeneralChange backcolor datetime picker control Pin
myanonym27-Apr-04 15:37
myanonym27-Apr-04 15:37 
GeneralSet tool tip text on tree control item Pin
Anonymous27-Apr-04 14:12
Anonymous27-Apr-04 14:12 
GeneralRe: Set tool tip text on tree control item Pin
thowra27-Apr-04 22:01
thowra27-Apr-04 22:01 
GeneralSimple divison has GONE MAD! Pin
Selevercin27-Apr-04 12:09
Selevercin27-Apr-04 12:09 
I have a variable int that when I divide by 2, it all on it's own it divides by 4. By playing with it, I figured out that if I mulitply by about the square root of 2 / 2 the computer simply divides by two.

I've even rebuilt the whole project. The int is normally around 3,000,000 and the only thing I can think is that maybe it's larger than it may legally be.

So I tried casting it to double, but I got the same responce. Any and all help is greatly appreciated.

If you have a problem with my spelling, just remember that's not my fault. I (as well as everyone else who learned to spell after 1976) blame it on Robert A. Kolpek for U.S. Patent 4,136,395.
GeneralRe: Simple divison has GONE MAD! Pin
Phil Martin27-Apr-04 13:42
professionalPhil Martin27-Apr-04 13:42 
GeneralRe: Simple divison has GONE MAD! Pin
Selevercin27-Apr-04 14:27
Selevercin27-Apr-04 14:27 
GeneralRe: Simple divison has GONE MAD! Pin
Tim Smith27-Apr-04 14:43
Tim Smith27-Apr-04 14:43 
GeneralRe: Simple divison has GONE MAD! Pin
Paul Ranson28-Apr-04 0:54
Paul Ranson28-Apr-04 0:54 
Generaltesting for <esc> key Pin
RalfPeter27-Apr-04 11:55
RalfPeter27-Apr-04 11:55 
GeneralRe: testing for <esc> key Pin
Selevercin27-Apr-04 12:14
Selevercin27-Apr-04 12:14 
GeneralRe: testing for <esc> key Pin
Christian Graus27-Apr-04 12:21
protectorChristian Graus27-Apr-04 12:21 
GeneralRe: testing for <esc> key Pin
Christian Graus27-Apr-04 12:18
protectorChristian Graus27-Apr-04 12:18 
GeneralRe: testing for <esc> key Pin
jmkhael28-Apr-04 0:27
jmkhael28-Apr-04 0:27 
GeneralRe: testing for <esc> key Pin
Anonymous28-Apr-04 3:25
Anonymous28-Apr-04 3:25 
GeneralMSDN 2003, to Visual C++ 6 Pin
Dassatar27-Apr-04 11:21
Dassatar27-Apr-04 11:21 
GeneralRe: MSDN 2003, to Visual C++ 6 Pin
Garth J Lancaster27-Apr-04 11:38
professionalGarth J Lancaster27-Apr-04 11:38 
GeneralRe: MSDN 2003, to Visual C++ 6 Pin
Roger Wright27-Apr-04 12:49
professionalRoger Wright27-Apr-04 12:49 
GeneralRe: MSDN 2003, to Visual C++ 6 Pin
Prakash Nadar27-Apr-04 18:23
Prakash Nadar27-Apr-04 18:23 
QuestionSetDlgItemText from different thread ? Pin
rmnowick27-Apr-04 11:01
rmnowick27-Apr-04 11:01 
AnswerRe: SetDlgItemText from different thread ? Pin
rmnowick27-Apr-04 11:56
rmnowick27-Apr-04 11:56 
GeneralRe: SetDlgItemText from different thread ? Pin
rmnowick27-Apr-04 12:42
rmnowick27-Apr-04 12:42 

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.