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

C / C++ / MFC

 
GeneralRe: DataGrid ! Pin
Hadi Rezaee26-Nov-01 15:54
Hadi Rezaee26-Nov-01 15:54 
GeneralRe: DataGrid ! Pin
Christian Graus26-Nov-01 16:10
protectorChristian Graus26-Nov-01 16:10 
GeneralRe: DataGrid ! Pin
Hadi Rezaee28-Nov-01 2:25
Hadi Rezaee28-Nov-01 2:25 
GeneralRe: DataGrid ! Pin
Carlos Antollini28-Nov-01 2:40
Carlos Antollini28-Nov-01 2:40 
GeneralRe: DataGrid ! Pin
Hadi Rezaee28-Nov-01 6:49
Hadi Rezaee28-Nov-01 6:49 
GeneralDelete folder error, please help me! Pin
Huu Quynh25-Nov-01 0:18
Huu Quynh25-Nov-01 0:18 
GeneralRe: Delete folder error, please help me! Pin
Nish Nishant25-Nov-01 5:27
sitebuilderNish Nishant25-Nov-01 5:27 
QuestionIs my compile error a hardware problem? Pin
degstar24-Nov-01 23:14
degstar24-Nov-01 23:14 
I've just installed VC++6 on a new P4 system, and I'm having an isolated obscure problem that I'm trying to prove is a problem with my hardware and not with VC++. I get this problem running win2k, XP, and Me.

The problem is that I get a compiler warning C2124 'divide or mod by zero' on a legit line of code:

int main()
{
double a = 1.0; // ok
double b = 2.0f; // ok
double c = a / b; // ok
double d = 1.0 / b; // ok
double e = 1.0 * 2.0; // ok
double f = 1.0 / 2.0; // Error C2124: divide or mod by zero

return 0;
}

I get the same problem with floats, but not ints.

Has anyone seen anything like this, or know of ways of proving that this is a problem with the CPU or mb?

Any help is greatly appreciated!

thanks,
~mark


AnswerRe: Is my compile error a hardware problem? Pin
Nish Nishant24-Nov-01 23:29
sitebuilderNish Nishant24-Nov-01 23:29 
GeneralRe: Is my compile error a hardware problem? Pin
Michael P Butler24-Nov-01 23:49
Michael P Butler24-Nov-01 23:49 
GeneralRe: Is my compile error a hardware problem? Pin
Nish Nishant25-Nov-01 0:04
sitebuilderNish Nishant25-Nov-01 0:04 
GeneralRe: Is my compile error a hardware problem? Pin
Anders Molin25-Nov-01 1:27
professionalAnders Molin25-Nov-01 1:27 
GeneralProblem with the line-break Pin
labanga24-Nov-01 22:30
labanga24-Nov-01 22:30 
Questionhow do i change the background of a checkbox? Pin
24-Nov-01 15:37
suss24-Nov-01 15:37 
AnswerRe: how do i change the background of a checkbox? Pin
Nish Nishant24-Nov-01 18:46
sitebuilderNish Nishant24-Nov-01 18:46 
GeneralRe: how do i change the background of a checkbox? Pin
24-Nov-01 20:49
suss24-Nov-01 20:49 
GeneralRe: how do i change the background of a checkbox? Pin
24-Nov-01 21:18
suss24-Nov-01 21:18 
GeneralRegistration error Pin
Peter Liddle24-Nov-01 13:28
Peter Liddle24-Nov-01 13:28 
GeneralRe: Registration error Pin
24-Nov-01 23:13
suss24-Nov-01 23:13 
GeneralRe: Registration error Pin
Peter Liddle25-Nov-01 1:29
Peter Liddle25-Nov-01 1:29 
GeneralRe: Registration error Pin
Peter Liddle25-Nov-01 1:35
Peter Liddle25-Nov-01 1:35 
GeneralRe: Registration error Pin
Peter Liddle25-Nov-01 2:26
Peter Liddle25-Nov-01 2:26 
GeneralRe: Registration error Pin
Peter Liddle25-Nov-01 2:47
Peter Liddle25-Nov-01 2:47 
QuestionHow to deal with it? Pin
owen_200124-Nov-01 13:09
owen_200124-Nov-01 13:09 
AnswerRe: How to deal with it? Pin
Nish Nishant24-Nov-01 14:23
sitebuilderNish Nishant24-Nov-01 14:23 

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.