Beep Sound Functions From HP/COMPAQ [Win32API / C++]

Forum rules
- Ask questions about or share code from languages other than Source Engine scripting.
- Start new topic titles with the code language in brackets (i.e. [C#], [C++], [PHP], etc.)
User avatar
Motherfat
100+ Posts
100+ Posts
Posts: 127
Joined: Thu Jul 22, 2010 2:29 pm
Location: Ontario, Canada

Beep Sound Functions From HP/COMPAQ [Win32API / C++]

Post by Motherfat »

Code: Select all

       case <BLAHBLAH>:
			Beep(900,45);
			Sleep(60);
			Beep(1050,45);
			Sleep(60);
			Beep(1300,45);
			Sleep(60);
			Beep(1580,45);
			break;
		case <BLAHBLAH>:
			Beep(1580,45);
			Sleep(60);
			Beep(1300,45);
			Sleep(60);
			Beep(1050,45);
			Sleep(60);
			Beep(900,45);
			break;
Last edited by Motherfat on Thu Jul 28, 2011 11:19 pm, edited 1 time in total.
Cabal Shall Rise Again
Image
Image
User avatar
Blake
500+ Posts
500+ Posts
Posts: 588
Joined: Mon Jul 05, 2010 8:51 pm
Location: Ontario, Canada

Re: HP/COMPAQ Beep Sound Functions [Win32API / C++]

Post by Blake »

You idiot it isn't computer type specific it's if the mother board has speaker or what ever to make the beep i'm pretty sure.
Unkown wrote: Life’s too short to worry about the little things.
Albert Einstein wrote: You do not really understand something unless you can explain it to your grandmother.
User avatar
Motherfat
100+ Posts
100+ Posts
Posts: 127
Joined: Thu Jul 22, 2010 2:29 pm
Location: Ontario, Canada

Re: Beep Sound Functions From HP/COMPAQ [Win32API / C++]

Post by Motherfat »

i ment to say the beep sounds from HP/COMPAQ computers on any computer
Cabal Shall Rise Again
Image
Image
User avatar
Motherfat
100+ Posts
100+ Posts
Posts: 127
Joined: Thu Jul 22, 2010 2:29 pm
Location: Ontario, Canada

Re: HP/COMPAQ Beep Sound Functions [Win32API / C++]

Post by Motherfat »

Smacked wrote:You idiot it isn't computer type specific it's if the mother board has speaker or what ever to make the beep i'm pretty sure.
Who do you think you are smacked, to come here and insult me every chance you get. Im no idiot im learning like you did once for sure because no one is born knowing stuff. :evil:
Cabal Shall Rise Again
Image
Image
User avatar
Blake
500+ Posts
500+ Posts
Posts: 588
Joined: Mon Jul 05, 2010 8:51 pm
Location: Ontario, Canada

Re: Beep Sound Functions From HP/COMPAQ [Win32API / C++]

Post by Blake »

He mad.
Unkown wrote: Life’s too short to worry about the little things.
Albert Einstein wrote: You do not really understand something unless you can explain it to your grandmother.
User avatar
killman2639
Former Server Admin
Posts: 292
Joined: Mon Aug 23, 2010 8:41 pm

Re: Beep Sound Functions From HP/COMPAQ [Win32API / C++]

Post by killman2639 »

Smacked wrote:He mad.
#define mad right
Hi, I'm Reloaded. :)

Image

Code: Select all

[GR|CMX] Reelawded | Reloaded :  hi, im black
[GR|CMX] Reelawded | Reloaded :  shit
Disconnect: being black.
Disconnect: being black.
Ryan
Former Server Admin
Posts: 1163
Joined: Fri Apr 23, 2010 2:56 am
Location: United Kingdom

Re: Beep Sound Functions From HP/COMPAQ [Win32API / C++]

Post by Ryan »

Smacked wrote:He mad.
You funny bro.
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: Beep Sound Functions From HP/COMPAQ [Win32API / C++]

Post by Nicdel »

killman2639 wrote:
Smacked wrote:He mad.
#define mad right
#ifdef mad
#undef mad
#endif
#define mad fails
Ingame: -[SaD]- Nico

Image
User avatar
killman2639
Former Server Admin
Posts: 292
Joined: Mon Aug 23, 2010 8:41 pm

Re: Beep Sound Functions From HP/COMPAQ [Win32API / C++]

Post by killman2639 »

Nicdel wrote:
killman2639 wrote:
Smacked wrote:He mad.
#define mad right
#ifdef mad
#undef mad
#endif
#define mad fails
:idea:
#ifndef mad
#define mad he_is_right
#endif
Hi, I'm Reloaded. :)

Image

Code: Select all

[GR|CMX] Reelawded | Reloaded :  hi, im black
[GR|CMX] Reelawded | Reloaded :  shit
Disconnect: being black.
Disconnect: being black.
User avatar
shadowslayer
1000+ Posts
1000+ Posts
Posts: 1280
Joined: Fri Sep 03, 2010 8:51 pm

Re: Beep Sound Functions From HP/COMPAQ [Win32API / C++]

Post by shadowslayer »

Nicdel wrote:
killman2639 wrote:
Smacked wrote:He mad.
#define mad right
#ifdef mad
#undef mad
#endif
#define mad fails
is there a source code for any of the other emotions too?
Spoiler
Show
Saying "Your lucky i'm peaceful" is pretty much like saying "when i grow up i wanna be an arms race!"-HL2shadowslayer, Area 51 Minecraft
Imagethe only reason you shouldnt mess with me
User avatar
killman2639
Former Server Admin
Posts: 292
Joined: Mon Aug 23, 2010 8:41 pm

Re: Beep Sound Functions From HP/COMPAQ [Win32API / C++]

Post by killman2639 »

shadowslayer wrote: is there a source code for any of the other emotions too?
Nope :)
Hi, I'm Reloaded. :)

Image

Code: Select all

[GR|CMX] Reelawded | Reloaded :  hi, im black
[GR|CMX] Reelawded | Reloaded :  shit
Disconnect: being black.
Disconnect: being black.
User avatar
shadowslayer
1000+ Posts
1000+ Posts
Posts: 1280
Joined: Fri Sep 03, 2010 8:51 pm

Re: Beep Sound Functions From HP/COMPAQ [Win32API / C++]

Post by shadowslayer »

Image
Spoiler
Show
Saying "Your lucky i'm peaceful" is pretty much like saying "when i grow up i wanna be an arms race!"-HL2shadowslayer, Area 51 Minecraft
Imagethe only reason you shouldnt mess with me
User avatar
Motherfat
100+ Posts
100+ Posts
Posts: 127
Joined: Thu Jul 22, 2010 2:29 pm
Location: Ontario, Canada

Re: Beep Sound Functions From HP/COMPAQ [Win32API / C++]

Post by Motherfat »

well im just tired of him always insulting me
Cabal Shall Rise Again
Image
Image
User avatar
Motherfat
100+ Posts
100+ Posts
Posts: 127
Joined: Thu Jul 22, 2010 2:29 pm
Location: Ontario, Canada

Re: Beep Sound Functions From HP/COMPAQ [Win32API / C++]

Post by Motherfat »

COLE TRAIN BABY

Image
Cabal Shall Rise Again
Image
Image
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: Beep Sound Functions From HP/COMPAQ [Win32API / C++]

Post by ant_8490 »

Last Previous Post: Fri Jul 29, 2011 8:20 pm
[GR]Ant_8490{A}
Area 51 Servers - Owner
Image
Image
Image
Image

MSI GE76 Raider
i9-11980HK 2.6GHz 8-Core Processor
32GB 3200Mhz DDR4 RAM
NVIDIA GeForce RTX 3080 Laptop GPU 16GB
2TB Samsung 980 Pro SSD
Windows 10