1. 13:00-14:40 聽鄭鎧尹博士演講 (LIVEhouse.in)
2. 回教室上課
3.MP3撥放
4.作業需求
今天教大家怎麼匯入mp3音樂檔
首先
要請大家
先匯入 CMP3_MCI 的標頭檔
#include<iostream>
#include<GL/glut.h>
#include "CMP3_MCI.h"
CMP3_MCI myMP3 ;
using namespace std;
int main()
{
myMP3.Load("fq.mp3");
myMP3.Play();
cout<<"Hello world!"<<endl;
int a;
cin>>a;
return 0 ;
}
沒有留言:
張貼留言