// JP opened flex table

Click to See Complete Forum and Search --> : "math.h" bad file


basio
December 5th, 2000, 02:26 PM
Hello,

The other night I spent (wasted?) 5 hours trying to find out why my program wouldn't compile and link (VC++ 6.0). Turns out that my "math.h" file was screwed up. I never suspected this until there was nothing else it could be. I simply replaced it with the math.h from my VC++ 5.0, and it worked fine.

Yes, I checked my other computer, with VC6 on it. The file was messed up on the installation. Very strange.

Probably few if any of you will encounter this problem, but just so you know, even those CRT files can be a source of error.

take care,

dan grill

nikb
December 7th, 2000, 01:07 PM
The <math.h> header file works fine for me on Visual C++ 6.0.

Can you tell us what the errors you were having were?

Also, I find it hard to believe that you have indeed found a legitimate error in a standard header file. 6.0 has been out for a long time, and if there was an error, chances are it would have been detected already.

-n

basio
December 7th, 2000, 01:18 PM
I didn't say there was an error in the file, only that it was screwed up. Problably overwritten somehow, or inadvertently changed by me, although i've never edited it on purpose.

I'm sure the correct file is error-free (;-) ), but mine was somehow damaged. That's all.

//JP added flex table