Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!emory!wa4mei!turbo!greg From: greg@turbo.atl.ga.us (Greg Montgomery) Newsgroups: comp.os.msdos.programmer Subject: Problem with BC++ and non-prototyped functions Message-ID: Date: 9 Apr 91 01:24:10 GMT Reply-To: greg@turbo.atl.ga.us Distribution: na Organization: Montgomery Consultants, Inc. Lines: 15 I'm having a little problem with BC++ and functions that I didn't use the include files. For instance, I noticed using the fabs() function would actually increase the variable I was getting the abs of by 90 until I added a #include in the top of the .C file. Why would this happen? I can't figure out why having a declaration (I think that's the right word??) would affect how the function actually works. I've noticed this a couple times tonight. I think the same thing happened with atof(). Any ideas on this?? Is this a normal C happening or a bug that needs to be reported to Borland? ---- Greg Montgomery | Montgomery Consultants, Inc. | Atlanta, Georgia, U.S.A Internet: greg@turbo.atl.ga.us | Home of the '96 UUCP: {rutgers,ogcise,gatech}!emory!turbo!greg | Olympics!