I am looking for how to generate the system alert sound from C on a Mac, any help would be appreciated.
Like a bell? Just print '\a'.
If you want the sound that is defined by the system for system alerts, then you need to read up on the Mac API and figure out how to determine what sound file is specified, and then use some sort of playback mechanism to play the file (or the API *might* have a function declared to do all of that for you...)
There are only two kinds of programming languages: those people always bitch about and those nobody uses. (Bjarne Stroustrup)
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum