Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!oliveb!pyramid!wjvax!jeffs From: jeffs@wjvax.UUCP (Jeffery Siou) Newsgroups: comp.sources.games.bugs Subject: Re: Lunar Lander Message-ID: <1571@wjvax.UUCP> Date: 2 Jun 89 16:58:05 GMT References: <107518@sun.Eng.Sun.COM> <2042@deimos.cis.ksu.edu> Reply-To: jeffs@wjvax.UUCP (Jeffery Siou) Organization: Watkins-Johnson Co., San Jose, Calif. Lines: 43 In article <2042@deimos.cis.ksu.edu> tar@sirius.cis.ksu.edu (Tim Ramsey) writes: >In article <107518@sun.Eng.Sun.COM> falk@sun.Eng.Sun.COM (Ed Falk) writes: >>In article , jt1o+@andrew.cmu.edu (Joseph L. Traub) writes: > >>> I have a small problem with Lunar Lander. The values M_PI and M_PI_2 >>> are never defined, and I don't know what they should be. I am assuming >>> that they are 3.14159 and 2 * 3.14159, but I would like a response to >>> tell me what they should really be. > >>They should be defined in > >Not under System V, they aren't (at least ATT SysV Rel3.1). Here's what >I used, and everything seems to be working fine: > >#define M_PI 3.14159265358979323846 >#define M_PI_2 1.57079632679489661923 > Well I've redefined the above M_PI and M_PI_2 and I got futher in my compiling of the game, but now I've come across another problem, At the end of the compiling I get the message: _memset undefined What's wrong? I know little to nothing about C programming except possibly compiling C sources. If someone could help me out, it would be greatly appreciated. Thanks in advance. +---------------------------------------------------------------------------+ | jeffery siou | | ...!{ !decwrl!qubix, ames!oliveb!tymix, pyramid}!wjvax!jeffs | | | | the above opinions are mine alone and not, in any way, those of WJ. | | | +---------------------------------------------------------------------------+ |