From: dontmailme AT iname DOT com (Steamer) Newsgroups: comp.os.msdos.djgpp Subject: Re: questions about bcd and c++ Date: Wed, 03 May 2000 17:37:39 GMT Organization: always disorganized Lines: 9 Message-ID: <391063d2.38568953@news.freeserve.net> References: <8epjp2$jbp$1 AT nnrp02 DOT primenet DOT com> <8epn4g$k1i$1 AT nnrp02 DOT primenet DOT com> NNTP-Posting-Host: modem-138.maryland.dialup.pol.co.uk X-Trace: newsg1.svr.pol.co.uk 957375460 2642 62.137.71.138 (3 May 2000 17:37:40 GMT) NNTP-Posting-Date: 3 May 2000 17:37:40 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Paul Vanukoff wrote: >If I rename the source to cdtest.c and recompile, it works fine. Any ideas >at all? I am using RHIDE btw. I think you need to make a copy of bcd.h in which all functions are declared as extern "C". Then your C++ files should include this new version of bcd.h. S.