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.
Type: Posts; User: louieansonng
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.
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...
Thanks a bunch!
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...
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...
he just posted an algorithm that would simulate multithreading
Thanks for the info. It worked.
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...
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...
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...
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.
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++...
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...
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...
char getKeypressed()
{
char ch;
ch = getch();
if (ch==0)
ch = getch();
return ch;
}
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.
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?
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...
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...
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...