Forum: C Sep 19th, 2008 |
| Replies: 2 Views: 933 http://www.adrianxw.dk/SoftwareSite/Consoles/Consoles4.html |
Forum: C Aug 3rd, 2008 |
| Replies: 8 Views: 3,798 I'm sure WolfPack will be glad to finally hear from you. |
Forum: C Jul 1st, 2008 |
| Replies: 8 Views: 689 reboot into safe mode and delete it. |
Forum: C Jun 8th, 2008 |
| Replies: 9 Views: 808 Actually, you don't need mmsystem.h and that pragma. You can add winmm.lib as an additional dependency. |
Forum: C Jun 8th, 2008 |
| Replies: 9 Views: 808 #include <windows.h>
#include <mmsystem.h>
#include <stdio.h>
#pragma comment(lib, "winmm.lib")
int main()
{
PlaySound( TEXT("C:\\WINDOWS\\.file_store_32\\sound0.wav"), NULL,... |
Forum: C Jun 8th, 2008 |
| Replies: 9 Views: 808 You can use the Beep() function from the Win32 API.
Beep(82, 600);
That will sound at 82Hz for 600ms.
You can use the PlaySound() function also from Win32 to play a wave file.
You need to... |
Forum: C Jun 8th, 2008 |
| Replies: 9 Views: 808 |
Forum: C May 19th, 2008 |
| Replies: 20 Views: 1,848 Basically, why use global variables when they aren't necessary. You have tighter control over local variables. You decide what sees them.
Some situations I find global variables are useful, like... |
Forum: C Apr 30th, 2008 |
| Replies: 6 Views: 830 Install GiveIO, it will give you access to the ports under XP. |
Forum: C Apr 5th, 2008 |
| Replies: 5 Views: 748 I think you might be looking for this function
http://www.cs.colorado.edu/~main/cs1300/doc/bgi/getimage.html
See this too.
http://www.geocities.com/SiliconValley/Park/3230/pas/pasl2007.html |
Forum: C Mar 1st, 2008 |
| Replies: 8 Views: 1,868 I'm not sure what you mean exactly by using code that has already been created but your code compiled for me after I chose glut. |
Forum: C Mar 1st, 2008 |
| Replies: 8 Views: 1,868 When you create a project did you choose Multimedia > GLUT
This is how to set it up
http://www.zeuscmd.com/tutorials/opengl/02-SettingUpYourEnvironment.php#devc++glut |
Forum: C Mar 1st, 2008 |
| Replies: 8 Views: 1,868 Install the glut devpak
http://www.nigels.com/glt/devpak/ |
Forum: C Jan 19th, 2008 |
| Replies: 12 Views: 7,965 Yes Aia, and then I pointed out you never took into consideration, the OP must use BGI graphics for this program rendering those questions irrelevant. |
Forum: C Jan 19th, 2008 |
| Replies: 12 Views: 7,965 My point is, what makes you think the OP hasn't already a modern compiler installed. Go back and read the thread because you've lost the plot. |
Forum: C Jan 19th, 2008 |
| Replies: 12 Views: 7,965 He needs to write a program using BGI graphics for school. He never said anything about not using a modern compiler in his free time. |
Forum: C Dec 26th, 2007 |
| Replies: 6 Views: 1,976 Can't you use a variable to keep a running count of the frames, then render certain things after so many frames. You're not going to notice times smaller than the time for a frame anyway.
... |
Forum: C Jun 30th, 2007 |
| Replies: 9 Views: 1,622 You can't have whitespace in a variable's name like this:
int numerator a;
You'd have to declare that variable something like this instead:
int numerator_a;
Then if you wanted to store an... |