Mail Archives: djgpp/1997/07/15/08:03:51
On Tue, 08 Jul 1997 20:03:24 -0400, "A. Sinan Unur" <asu1 AT cornell DOT edu>
wrote:
>Eric Liao wrote:
>>
>> I'm pretty sure destx and desty are correct, because my game
>> runs when I compile it in Borland Turbo C++ 3.1. I'm still new to
>> DJGPP, though. I'll try using GDB I guess.
>>
>
>are destx and desty ints? is TC++ 3.1 a 16 bit compiler? 32 bit ints
>will get considerably larger than 16 bit ones. you realize, of course, a
>single line out of your code is not enough information to put your
>problem in context.
>--
> Sinan
>
>*******************************************************************
> A. Sinan Unur WWWWWW
> |--O+O
> mailto:sinan DOT unur AT cornell DOT edu C ^
> http://www.people.cornell.edu/pages/asu1/ \ ~/
>
>Unsolicited e-mail is _not_ welcome, and will be billed for.
>*******************************************************************
>
Hmm? 32 bit ints are different? That might be the problem.
I used GDB and got an 8 digit or so number, and I was wondering how
that could fit in an int. I always thought an int was 2 bytes on any
compiler. Is a char still one byte? What are the other types? Maybe
I should go look them up. Thanks for the help.
Eric Liao
- Raw text -