I have tried with your code. It works fine.
On Mon, 25 Oct 2004 23:11:13 -0700, rapee <ra...@ca...> wrote:
>
>
>
> Hi,
>
>
>
> \a in my program doesn't beep. Here is my program. Please help.
>
> #include <iostream>
>
> #include <stdlib.h>
>
>
>
> int main()
>
> {
>
> int num;
>
>
>
> printf("enter 2 will beep");
>
> scanf("%d", &num);
>
>
>
> printf("beeping the computer\a\a\a\n");
>
>
>
> system("PAUSE");
>
> return 0;
>
> }
>
>
>
> Thanks in advance.
--
Thanks
Z.J.
|