如何打开mp3文件以在C ++中播放它 [英] How do I open an mp3 file to play it in C++

查看:120
本文介绍了如何打开mp3文件以在C ++中播放它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们我刚接触这里的新编码,我在这里尝试一下并且还没有取得多大成功,但我不会放弃。这里的任何一位专家都可以帮助我吗 - 记住我不擅长这个

hey guys im new here n new to coding, im trying my hand at it here and haven't gotten much success as yet but I won't give up. Can any of the experts here help me out - remember im no good at this

// -----------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
    : TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{

OpenDialog1->Filter = "Music Files (*.mp3) | *.mp3";
if (OpenDialog1->Execute()); {

                                     <---- this blank area needs some code :(

推荐答案

这里让我谷歌那个为您服务。 [ ^ ]


这篇关于如何打开mp3文件以在C ++中播放它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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