Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!maverick.ksu.ksu.edu!hoss!chakra!price From: price@chakra.unl.edu (Chad Price) Newsgroups: comp.os.msdos.programmer Subject: Re: Borland Turbo C 1.5 Keywords: Turbo C 1.5, problems float Message-ID: Date: 6 Jan 91 04:42:04 GMT References: <1991Jan3.125057.21477@cbnewsm.att.com> Sender: news@hoss.unl.edu (Network News Administer) Organization: University of Nebraska - Lincoln Lines: 26 In <1991Jan3.125057.21477@cbnewsm.att.com> mds1@cbnewsm.att.com (marc.d.sayre) writes: >Hello programmers, > For all of you out there that use borland turbo C 1.5 or later I have a > question. I have been programming a lot of stuff with floats, where I have > a global structure called empdata with about ten floats in there. > I recently started to expand the code and start getting weird responses > when I execute the program, all the other functions that use the global structure > work fine, I add a function and it works fine, I change some lines of > code and get strange errors. I take away the code again and still get > the weird errors. The best help I can provide is to suggest that you spend the money & update to the most recent version of Turbo C (++). I had similar problems about a year ago, and was unable to get a resolution from Borland. I do remember that for TC 2.0, there were some patches available from Borland which included a linkage problem with floats - if I recall correctly, if a float wasn't declared in the function (File??) where you used the global variable, then the float routines were not linked in and the program blew up. chad price price@fergvcax.unl.edu