On May 7, 5:44 pm, red floyd <no.s...@[EMAIL PROTECTED]
> wrote:
> andrew.smith....@[EMAIL PROTECTED]
wrote:
> > how can i play a ".wav" file in C++.means with the help of the C++
> > code i just want to play a "a.wav" file more then 10 times. i just
> > want to play background music.
> > Can i do it in C++ ?
> > if yes then how ?
> ISO/IEC 14882:2003 does not discuss "WAV" files. Please ask
> in a newsgroup dedicated to your platform. My guess is you're
> on Windows, so try a group with either "windows" or
> "microsoft" in its name.
Alternatively, he should try to find a more or less ****table
library. At some point, the code will have to access some
platform specific API in order to generate sound. And of
course, how this works, along with details of how to interpret a
wave file, aren't really on topic here. But unless he's a real
expert (in which case, he wouldn't have asked the question),
it's better to find some third party library which has already
addressed both of those questions.
--
James Kanze (GABI Software) email:james.kanze@[EMAIL PROTECTED]
en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34


|