3da Subj : Re: Math error ??? doen't make sense! To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Fri Jul 02 2004 10:51 am Stan DeGroff wrote: >I Programmed in Assembly, Fortran, DbaseIV, MS Prof Basic pre-Win for many >years. >This new stuff is mind blowing. So.. I ask for your patient help. I'll just throw in another suggestion besides all the code corrections you've been given. Since you have assembly background, you might want to fire up TD, the debugger, and View Cpu which shows the assembly code and allows you to watch what happens to the registers as you step through it. You probably would have seen the overflow condition. That's how I learned C. Write it. It doesn't work. Step through it and see what the crazy compiler did to my nice code. Often I would write the same code three different ways, compile it, and then look at the assembly and find which method caused the compiler to create what I thought I meant it to do. . 0