Hey, what's the command to let the pc beep. I would'nt have a singel idea :(
Printable View
Hey, what's the command to let the pc beep. I would'nt have a singel idea :(
printf("\a");
I think it was something like '\a'........
beep :p
#include <stdio.h>
main()
{
printf("\a");
return 0;
}
well i have DevBlood compiler but I dont hear any beep at all?
I allways used \007
This is the James Bond beep:DCode:printf("Say beep \007");
check your conputer setup/hardware, because both \a and \007
work on Bloodshed
Could anyone post an example of a code to let your pc beep, cause i cant hear anything
Maybe im doing something wrong in the source code?
Check that your speaker volume is up. Or put in a CD and see if you can hear it playing. The codes given to you WILL work in Bloodshed Dev.
I don't think putting the volume up or putting a cd in it will make a difference. Because the beep uses an other speaker then your soundcard. The beep uses the same as your BIOS when you boot.
My volume is up and i can hear a cd playing...
But could anyone please a post a little piece of code that worke by you and gives a beep
here it is:
Code:#include <stdio.h>
int main(void)
{
printf("Say beep \007");
return 0;
}