From: "Steven Taylor" Newsgroups: comp.os.msdos.djgpp References: <3768A98B DOT 47FBAC85 AT computerpro DOT com> <376944DE DOT 2EEABF6B AT computerpro DOT com> Subject: Re: Sound C++ with DJGPP Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Internet Primus Message-ID: <929775095.676729@diddley.primus.com.au> Cache-Post-Path: diddley.primus.com.au!unknown AT ras549 DOT ports DOT adel DOT primus DOT com DOT au X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Date: Sat, 19 Jun 1999 16:20:20 +0930 NNTP-Posting-Host: 203.134.0.92 X-Complaints-To: abuse AT telstra DOT net X-Trace: nsw.nnrp.telstra.net 929775094 203.134.0.92 (Sat, 19 Jun 1999 16:51:34 EST) NNTP-Posting-Date: Sat, 19 Jun 1999 16:51:34 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > The library reference on sound says the syntax is: > ------------------------------------------------ > #include > > void sound(int _frequency); > ------------------------------------------------ > _frequency being a number for the tone, I guess. > > I keep getting errors when compiling. > I don't think I'm putting these lines in my code properly. > > Help!!! oh dear. If you're getting a linker error, then you haven't installed DJGPP properly. If you're getting a compiler error, you either haven't read the docs properly or you need to learn how to program in C or C++.