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

C / C++ / MFC

 
GeneralRe: Handle to child windows in Start Menu? Pin
yeswekey21-Nov-09 19:22
yeswekey21-Nov-09 19:22 
Questionoperator over loading problem? Pin
york52820-Nov-09 6:22
york52820-Nov-09 6:22 
AnswerRe: operator over loading problem? Pin
josda100020-Nov-09 8:17
josda100020-Nov-09 8:17 
GeneralRe: operator over loading problem? Pin
york52820-Nov-09 22:43
york52820-Nov-09 22:43 
GeneralRe: operator over loading problem? Pin
Lim Bio Liong22-Nov-09 22:25
Lim Bio Liong22-Nov-09 22:25 
GeneralRe: operator over loading problem? Pin
york52823-Nov-09 18:14
york52823-Nov-09 18:14 
GeneralRe: operator over loading problem? Pin
Lim Bio Liong23-Nov-09 23:10
Lim Bio Liong23-Nov-09 23:10 
Questionpow function appears to fail randomly. Pin
Member 208820-Nov-09 6:21
Member 208820-Nov-09 6:21 
This my program

int _tmain(int argc, _TCHAR* argv[])
{
int a=0;
double b=10;
double result = pow(b,a);
double r=0;
for(int aa=0;aa<30000;aa++)
{
for(int i=0; i<30000;i++)
{
for(int j=0; j<30000;j++)
{
r = pow(b,a);
if(r != result)
{
int error =0;
}
}
}
}
return 0;
}
I put a breakpoint on the int error = 0. It got hit when aa=0,i=19383,j= 26848.
Could this be a hardware problem or something else?
Running VS2008 with latest service packs.
AnswerRe: pow function appears to fail randomly. Pin
Richard MacCutchan20-Nov-09 6:43
mveRichard MacCutchan20-Nov-09 6:43 
GeneralRe: pow function appears to fail randomly. Pin
Member 208820-Nov-09 7:03
Member 208820-Nov-09 7:03 
GeneralRe: pow function appears to fail randomly. Pin
Richard MacCutchan20-Nov-09 7:14
mveRichard MacCutchan20-Nov-09 7:14 
GeneralRe: pow function appears to fail randomly. Pin
Member 208820-Nov-09 7:46
Member 208820-Nov-09 7:46 
GeneralRe: pow function appears to fail randomly. Pin
josda100020-Nov-09 8:09
josda100020-Nov-09 8:09 
GeneralRe: pow function appears to fail randomly. Pin
Member 208820-Nov-09 11:55
Member 208820-Nov-09 11:55 
GeneralRe: pow function appears to fail randomly. Pin
Richard MacCutchan20-Nov-09 23:07
mveRichard MacCutchan20-Nov-09 23:07 
AnswerRe: pow function appears to fail randomly. Pin
dxlee20-Nov-09 6:50
dxlee20-Nov-09 6:50 
QuestionRe: pow function appears to fail randomly. Pin
David Crow20-Nov-09 8:21
David Crow20-Nov-09 8:21 
AnswerRe: pow function appears to fail randomly. Pin
T210220-Nov-09 12:45
T210220-Nov-09 12:45 
QuestionCode snippet for reading from a .xlsx file in VC++ Pin
V K 220-Nov-09 2:15
V K 220-Nov-09 2:15 
AnswerRe: Code snippet for reading from a .xlsx file in VC++ Pin
Richard MacCutchan20-Nov-09 2:42
mveRichard MacCutchan20-Nov-09 2:42 
AnswerRe: Code snippet for reading from a .xlsx file in VC++ Pin
David Crow20-Nov-09 3:21
David Crow20-Nov-09 3:21 
QuestionGetting Error with msscript.ocx Pin
Ash_VCPP20-Nov-09 1:41
Ash_VCPP20-Nov-09 1:41 
AnswerRe: Getting Error with msscript.ocx Pin
Richard MacCutchan20-Nov-09 2:08
mveRichard MacCutchan20-Nov-09 2:08 
QuestionHow to change page header and footer EMF.SPL file ? Pin
semaphore119-Nov-09 23:49
semaphore119-Nov-09 23:49 
Questionis it possible to use tiff vartual printers in vc++6.0 Pin
eswar pothula19-Nov-09 22:53
eswar pothula19-Nov-09 22:53 

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.