Search:

Type: Posts; User: @nders

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    3,713

    Still the same. Mix_LoadMUS() returns NULL. :( ...

    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.
    ...
  2. Replies
    4
    Views
    3,713

    I've tested with mp3, ogg vorbis and wave files....

    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...
  3. Replies
    4
    Views
    3,713

    My SDL program won't sound!

    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...
  4. Replies
    1
    Views
    2,968

    Compile id3lib for Windows

    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?
  5. Replies
    1
    Views
    1,361

    Vocabulary checker, problem

    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....
  6. Replies
    9
    Views
    5,403

    Thank you very much for all help! The problem is...

    Thank you very much for all help! The problem is solved now. :)
  7. Replies
    9
    Views
    5,403

    Thank you, everybody! Of course I have a couple...

    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...
  8. Replies
    9
    Views
    5,403

    Thanks for the answer, elad! I edited my code,...

    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;
  9. Replies
    9
    Views
    5,403

    Delete a line in a file

    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"...
Results 1 to 9 of 9