From: daniel_t AT gate DOT net (Daniel T.) Newsgroups: comp.os.msdos.djgpp Subject: Re: [q] Help with undefined reference in main? Date: Wed, 24 Sep 1997 20:29:17 -0400 Organization: CyberGate, Inc. Lines: 12 Message-ID: References: <3428F374 DOT 6D08AE7F AT Mathematik DOT TU-Chemnitz DOT DE> NNTP-Posting-Host: seminole.gate.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Thanks for all the help from everybody... It turns out that, since I wrote the .cpp file on a Macintosh, it didn't have the LF's after each CR. This apparently caused some of the lines to run together which obscured the main function. After adding the LFs though, I got a series of warnings about how header files could be located but were unreadable. The program compiled anyway and now I have a working exe file. -- Daniel T. Dunedin, FL