Still the same. Mix_LoadMUS() returns NULL. :(
Edit: With Mix_GetError() I get Module format not recognized when trying to load a mp3 file and Unable to load WAV file when trying to load a wav.
...
Type: Posts; User: @nders
Still the same. Mix_LoadMUS() returns NULL. :(
Edit: With Mix_GetError() I get Module format not recognized when trying to load a mp3 file and Unable to load WAV file when trying to load a wav.
...
I've tested with mp3, ogg vorbis and wave files. When I use mp3 and ogg the result is the same; nothing happens, and when I test with a wave file the Mix_LoadMUS() function returns NULL (which leads...
I can't understand why my program doesn't sound anything. I think it should work because I've almost copied the code from here. As you can se I use SDL Mixer.
#include "SDL.h"
#include...
Hi!
I'm trying to compile id3lib, but it seems not to be too easy. The INSTALL-file doesn't explain how to do this in Windows, I think. Do I have to edit some makefiles or what?
Hi,
I'm trying to create a program that tests you at some words in any language, but I've got problems.
When you shell type in words and translations, it jumps directly to the translation....
Thank you very much for all help! The problem is solved now. :)
Thank you, everybody! Of course I have a couple of questions now. ;)
I get
conflicting types for `std::ofstream file'
when I try to compile. Can't I use same variable (or filestream, or what...
Thanks for the answer, elad!
I edited my code, and got an error message like this:
My new code looks like this:
void deleteLine( int id )
{
string contents;
string buffer;
int i = 1;
Hi,
I'm trying to delete a line in a file, but I'm not succeeding very well... Here is my function:
void deleteLine( int id )
{
string contents;
int i = 1;
ifstream file ( "file.txt"...