| delorie.com/archives/browse.cgi | search |
| Message-ID: | <37703244.48BB0E5C@computerpro.com> |
| From: | paradise AT computerpro DOT com |
| X-Mailer: | Mozilla 4.61 [en] (Win95; I) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Sound C++ with DJGPP |
| References: | <3768A98B DOT 47FBAC85 AT computerpro DOT com> <376944DE DOT 2EEABF6B AT computerpro DOT com> <929775095 DOT 676729 AT diddley DOT primus DOT com DOT au> |
| Lines: | 36 |
| Date: | Tue, 22 Jun 1999 20:03:00 -0500 |
| NNTP-Posting-Host: | 209.32.50.169 |
| X-Trace: | newsfeed.slurp.net 930099586 209.32.50.169 (Tue, 22 Jun 1999 19:59:46 CDT) |
| NNTP-Posting-Date: | Tue, 22 Jun 1999 19:59:46 CDT |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
hmm... The problem I'm having with sound( ) and nosound( ) and delay( ) is that I don't know the syntax of what goes in ( ). In replace of sound( int _Frequency) ie. sound(A5)?????????? or something?????? anyone know what I mean C++ Steven Taylor wrote: > > The library reference on sound says the syntax is: > > ------------------------------------------------ > > #include <pc.h> > > > > 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++.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |