播放“。wave” C ++文件(背景音乐) [英] To Play ".wave" file with C++(Background music)

查看:93
本文介绍了播放“。wave” C ++文件(背景音乐)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好:-)

如何播放.wav? C ++中的文件意味着在C ++

代码的帮助下我只想播放一个a.wav。文件超过10次。我只是

想要播放背景音乐。

我能用C ++做吗?

如果是,那么如何?


谢谢

Hello :-)
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 ?

Thanks

推荐答案

一个************** @ gmail.com 写道:

您好: - )

我怎么能玩.wav C ++中的文件意味着在C ++

代码的帮助下我只想播放一个a.wav。文件超过10次。我只是

想要播放背景音乐。

我能用C ++做吗?

如果是,那么如何?


谢谢
Hello :-)
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 ?

Thanks



你可以,但它不是一个简单的问题,也不是一个简单的解决方案。如果你是
是C ++的初学者,那很可能超出你的联盟。我不是* a

初学者,我会为之奋斗:-)


-

丹尼尔Pitts''Tech Blog:< http://virtualinfinity.net/wordpress/>

You can, but its not a simple question nor a simple solution. If you
are a beginner to C++, it is likely out of your league. I''m *not* a
beginner, and I would struggle with it :-)

--
Daniel Pitts'' Tech Blog: <http://virtualinfinity.net/wordpress/>


5月7日晚上8:02,Daniel Pitts

< newsgroup.spamfil ... @ virtualinfinity.netwrote:
On May 7, 8:02 pm, Daniel Pitts
<newsgroup.spamfil...@virtualinfinity.netwrote:

andrew.smith .... @ gmail.com写道:
andrew.smith....@gmail.com wrote:

您好:-)

我怎样才能播放.wav C ++中的文件意味着在C ++

代码的帮助下我只想播放一个a.wav。文件超过10次。我只是想要播放背景音乐。

我能用C ++做吗?

如果是,那怎么样?
Hello :-)
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 ?


谢谢
Thanks



你可以,但它不是一个简单的问题,也不是一个简单的解决方案。如果你是
是C ++的初学者,那很可能超出你的联盟。我不是* a

初学者,我会为之奋斗:-)


-

丹尼尔Pitts''Tech Blog:< http://virtualinfinity.net/wordpress/>


You can, but its not a simple question nor a simple solution. If you
are a beginner to C++, it is likely out of your league. I''m *not* a
beginner, and I would struggle with it :-)

--
Daniel Pitts'' Tech Blog: <http://virtualinfinity.net/wordpress/>



你好D :-)

我不是初学者,但我对此一无所知。

i搜索其存档但所有都显示PlaySound使用

" windows.h"标题和用户g ++

它不在那里工作。所以我该怎么用呢。

Boz我必须用C ++的代码播放音乐。

如果你知道那么告诉我怎么样?

谢谢

Hello D :-)
I m Not a Beginner but i don''t know anything about it.
i search its archive but all are showing "PlaySound" Function with the
"windows.h" header and i m user of "g++"
its not working there. so what should i use for it.
Boz of i have to play a music with the code of C++.
if u know then Tell Me How?
Thanks


* *************@gmail.com 写道:

5月7日晚上8:02,Daniel Pitts

< newsgroup.spamfil ... @ virtualinfinity.netwrote:
On May 7, 8:02 pm, Daniel Pitts
<newsgroup.spamfil...@virtualinfinity.netwrote:

> andrew.smith .... @ gmail.com写道:
>andrew.smith....@gmail.com wrote:

>> Hello :-)
我怎么能播放.wav C ++中的文件意味着借助C ++代码我只想播放一个a.wav。文件超过10次。我只是想播放背景音乐。
我能用C ++做吗?
如果是的话怎么样?
谢谢
>>Hello :-)
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 ?
Thanks


你可以,但它不是一个简单的问题,也不是简单的解决方案。如果你是C ++的初学者,很可能不在你的联盟中。我不是*一个初学者,我会为之奋斗:-)

-
Daniel Pitts的'科技博客:< http:// virtualinfinity.net/wordpress/>

You can, but its not a simple question nor a simple solution. If you
are a beginner to C++, it is likely out of your league. I''m *not* a
beginner, and I would struggle with it :-)

--
Daniel Pitts'' Tech Blog: <http://virtualinfinity.net/wordpress/>



你好D :-)

我不是初学者,但我对此一无所知。

i搜索其存档但所有都显示PlaySound使用

" windows.h"标题和用户g ++

它不在那里工作。所以我该怎么用呢。

Boz我必须用C ++的代码播放音乐。

如果你知道那么告诉我怎么样?

谢谢

Hello D :-)
I m Not a Beginner but i don''t know anything about it.
i search its archive but all are showing "PlaySound" Function with the
"windows.h" header and i m user of "g++"
its not working there. so what should i use for it.
Boz of i have to play a music with the code of C++.
if u know then Tell Me How?
Thanks



这取决于您定位的操作系统/平台。没有标准方式

来做这件事。


-

Daniel Pitts''科技博客:< http: //virtualinfinity.net/wordpress/>

It depends on what OS/platform your targeting. There is no standard way
to do it.

--
Daniel Pitts'' Tech Blog: <http://virtualinfinity.net/wordpress/>


这篇关于播放“。wave” C ++文件(背景音乐)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆