의 FMOD 오류는 컴파일 할 때 26 오류가 발생하지만 모든 것이 올바른 위치에 있습니다. 오류는 대부분 상수가 너무 길기 때문에 이해가되지 않습니다. Plz help C 프로그래밍을 통해 mp3 파일을 재생하고 싶습니다. 오류가 JPG 이미지볼랜드 터보 C++ 4.5
#include "inc/fmod.h"
FMUSIC_MODULE* handle;
int main()
{
// init FMOD sound system
FSOUND_Init (44100, 32, 0);
// load song
handle=FMUSIC_LoadSong ("don.mp3");
// play song only once
// when you want to play a midi file you have to disable looping
// BEFORE playing the song else this command has no effect!
FMUSIC_SetLooping (handle, false);
// play song
FMUSIC_PlaySong (handle);
// wait until the users hits a key to end the app
while (!_kbhit())
{
}
//clean up
FMUSIC_FreeSong (handle);
FSOUND_Close();
}
http://i.stack.imgur.com/JH4Ts.jpg
왜 그렇게 많은 noobs가 Turbo C++를 계속 사용합니까? 특히 gcc와 같은 우수한 컴파일러가 무료 인 경우. 나를 때려. – stackptr