Search Results

Showing results 1 to 18 of 18
Search took 0.01 seconds.
Search: Posts Made By: Colin Mac ; Forum: C and child forums
Forum: C Sep 19th, 2008
Replies: 2
Views: 933
Posted By Colin Mac
http://www.adrianxw.dk/SoftwareSite/Consoles/Consoles4.html
Forum: C Aug 3rd, 2008
Replies: 8
Views: 3,798
Posted By Colin Mac
I'm sure WolfPack will be glad to finally hear from you.
Forum: C Jul 1st, 2008
Replies: 8
Views: 689
Posted By Colin Mac
reboot into safe mode and delete it.
Forum: C Jun 8th, 2008
Replies: 9
Views: 808
Posted By Colin Mac
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
Posted By Colin Mac
#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
Posted By Colin Mac
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
Posted By Colin Mac
Forum: C May 19th, 2008
Replies: 20
Views: 1,848
Posted By Colin Mac
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
Posted By Colin Mac
Install GiveIO, it will give you access to the ports under XP.
Forum: C Apr 5th, 2008
Replies: 5
Views: 748
Posted By Colin Mac
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
Posted By Colin Mac
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
Posted By Colin Mac
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
Posted By Colin Mac
Install the glut devpak
http://www.nigels.com/glt/devpak/
Forum: C Jan 19th, 2008
Replies: 12
Views: 7,965
Posted By Colin Mac
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
Posted By Colin Mac
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
Posted By Colin Mac
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
Posted By Colin Mac
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
Solved: Help needed
Views: 1,622
Posted By Colin Mac
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...
Showing results 1 to 18 of 18

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC