Search:

Type: Posts; User: louieansonng

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    3,146

    Already there, but not working. Also, how do you...

    Already there, but not working. Also, how do you store the wave file into the application so that I can play the sounds without needing the wave files? I'm using a Dev-C++ compiler.
  2. Replies
    8
    Views
    3,146

    how do I play two wav files at the same time?...

    how do I play two wav files at the same time? putting |SND_NOSTOP at the first wav file doesn't work. The only nearest thing I got to was playing the two sounds, but one had to stop to let the other...
  3. Replies
    8
    Views
    3,146

    Thanks a bunch!

    Thanks a bunch!
  4. Replies
    8
    Views
    3,146

    Is there any way I can do it without making the...

    Is there any way I can do it without making the source code a project? I haven't asked our professor if we can submit our project code in .dev format, but our specifications say that we only submit...
  5. Replies
    8
    Views
    3,146

    Sounds in C?

    I saw a code in the net yesterday about playing sounds, and I managed to play it too, using a dev-c++ project file. What I'm now trying to do is put it in my game, though I get compiler errors when I...
  6. Replies
    8
    Views
    1,763

    he just posted an algorithm that would simulate...

    he just posted an algorithm that would simulate multithreading
  7. Replies
    8
    Views
    1,763

    Thanks for the info. It worked.

    Thanks for the info. It worked.
  8. Replies
    8
    Views
    1,763

    I meant printing out an object in the first line....

    I meant printing out an object in the first line.

    I know that. What i meant to say was, I need to print 3 different lines at different conditions, and what my code does is it stops what it is...
  9. Replies
    8
    Views
    1,763

    Multithreadding in C?

    In my project, I'm supposed to print three lines of falling objects that are independent of each other and have random positions. My code goes to the second line, but the first line doesn't stay...
  10. Replies
    14
    Views
    12,469

    Yes, our console window is 80 x 25. Maybe I'll...

    Yes, our console window is 80 x 25. Maybe I'll follow adak's way of creating lines...I don't want to waste my time doing something that might not work in our teacher's computer. Thanks for all the...
  11. Replies
    14
    Views
    12,469

    I just downloaded the package and got really...

    I just downloaded the package and got really confused about all the files there. There wasn't a readme file on which files to put on which folder. I'll have to ask my professor on the details.
  12. Replies
    14
    Views
    12,469

    Will I be able to compile it like a normal c...

    Will I be able to compile it like a normal c file? I'm using Dev-C++ and our project specification says that we can do anything we want as long as we can compile it without problems in Dev-C++...
  13. Replies
    14
    Views
    12,469

    What I meant to say was print all the lines from...

    What I meant to say was print all the lines from line 24 all the way up, while clearing each line. The first line will start from line 24 and end up in line 0, the second from line 24 and going to...
  14. Replies
    14
    Views
    12,469

    Clearing single line?

    Is there a way for clearing just a single line? I know clrscr but it clears the whole screen. I'm making a function that prints out ascii art, and I can't get it to start at line 24 printing the...
  15. Replies
    11
    Views
    2,918

    char getKeypressed() { char ch; ch...

    char getKeypressed()
    {
    char ch;

    ch = getch();
    if (ch==0)
    ch = getch();
    return ch;

    }
  16. Replies
    11
    Views
    2,918

    Yes, but now my program waits for me to press...

    Yes, but now my program waits for me to press left or right before moving right and going down. When I press the left key, it goes left and down twice.
  17. Replies
    11
    Views
    2,918

    Thank you so much. Now all i have to do is be...

    Thank you so much. Now all i have to do is be able to control the character while falling down...can I make a while loop in gotoxy so that while the y is incrementing, I can change my x?
  18. Replies
    11
    Views
    2,918

    The thing is, it is different from tetris in the...

    The thing is, it is different from tetris in the sense that all the characters that will be coming down will have to be moved to a specific position. After going to that position or to the end of the...
  19. Replies
    11
    Views
    2,918

    The object that will be falling down is actually...

    The object that will be falling down is actually only a letter, so I don't think I need to use an array. Also, the teacher hasn't taught us arrays and strings, but we can apply it only if we can...
  20. Replies
    11
    Views
    2,918

    need help in game in C

    Hi, I'm a student in Computer Science and we have a machine project due on August 20. The problem is, the professor only taught us the basics of C programming, the functions, switch statements and...
Results 1 to 20 of 20