![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unix Make | mmipko | High Level Programming | 3 | 11-23-2007 02:18 PM |
| Make a copy of a unix HDD | josramon | UNIX for Dummies Questions & Answers | 0 | 03-20-2007 07:57 AM |
| how to make VI editor show colors in Unix | whatisthis | Shell Programming and Scripting | 7 | 05-26-2006 10:57 PM |
| Make file in Unix | gandhevinod | UNIX Desktop for Dummies Questions & Answers | 6 | 04-20-2005 04:15 PM |
| How can I make ls -l in HP-UNIX? | sangjinn | High Level Programming | 1 | 09-24-2001 02:39 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
i'm programming using C under UNIX. i wonder to how make sound using C ? any sound like "beep" would be fine. thx.
|
| Forum Sponsor | ||
|
|
|
|||
|
Code:
int main(int argc,char **argv) {
printf("%c",7);
return 0;
}
Xlib Programming Manual: XBell |
|
|||
|
thanks... it worked. however, some questions.
1. i tried 8 and 6 instead of 7 but did not work. why ? what's magical about this 7 ? lucky 7 ? 2. (int argc, char **argv)......... what is this ? 3. the sound was like ... dong...dong... are there more sharp sounds ? |
|
|||
|
Quote:
C programming 101 Refer to your terminal/emulation. |
|
|||
|
thanks...it still gives dong dong sound...not like sharp beep beep sound...maybe it's related to my laptop's(i'm using laptop to get connected to remote server) or the server's terminal settings.. which i've no ideas at all
|
|
|||
|
So we're getting picky now?
A serial terminal normally has a single bell which it will sound on receipt of the ASCII bell character. The program has no control over this because all it sends is the bell character, what the terminal does with that is up to it. XBell gives you a little more control on an X terminal, but not much more. |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|