Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 16th, 2006, 5:59 AM   #1
sayu
Newbie
 
Join Date: Nov 2006
Posts: 10
Rep Power: 0 sayu is on a distinguished road
Play sound in TurboC++

Hello
can any body say the code needed to play sound
Iam Using Turbo C++ 3.0 and Windows XP
I could not find a better match in this forum(as i have searched the forum)
please can any body say the code

even the Beep() function is not working (may be i don't internal speakers)

and I don't have windows.h to include to be able to use PlaySound()
sayu is offline   Reply With Quote
Old Nov 16th, 2006, 6:01 AM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Nothing is going to play on internal speakers if they're not there. Seems like #1 to check. Why don't you move to a newer compiler?
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Nov 16th, 2006, 6:04 AM   #3
sayu
Newbie
 
Join Date: Nov 2006
Posts: 10
Rep Power: 0 sayu is on a distinguished road
Can you suggest me one such compiler
i do not about those compilers
sayu is offline   Reply With Quote
Old Nov 16th, 2006, 6:10 AM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Such suggestions have been made dozens of times on the forum. It's why we have a search feature. Visual C++ from MS and Dev-Cpp through Bloodshed are two that are frequently recommended.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Nov 16th, 2006, 8:42 AM   #5
v0id
Hobbyist Programmer
 
Join Date: Apr 2006
Posts: 155
Rep Power: 3 v0id is on a distinguished road
I'll recommend the compiler, MingW, too.
It's nice - and free.
__________________
-- v0id
v0id is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not your father's Oldsmobile... DaWei Show Off Your Open Source Projects 23 Sep 20th, 2006 4:41 PM
test lostcauz Coder's Corner Lounge 9 Jul 18th, 2006 3:20 PM
Questions about extra Sound and Graphics libraries Soulstorm C++ 2 May 15th, 2006 10:42 AM
Programming a usb flash stick to play music possible? linuxpimp20 Other Programming Languages 6 Sep 20th, 2005 2:08 AM
turning integers into sound? clam Visual Basic .NET 2 Aug 23rd, 2005 1:28 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:05 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC