Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   Play sound in TurboC++ (http://www.programmingforums.org/showthread.php?t=11903)

sayu Nov 16th, 2006 6:59 AM

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()

DaWei Nov 16th, 2006 7:01 AM

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?

sayu Nov 16th, 2006 7:04 AM

Can you suggest me one such compiler
i do not about those compilers

DaWei Nov 16th, 2006 7:10 AM

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.

v0id Nov 16th, 2006 9:42 AM

I'll recommend the compiler, MingW, too.
It's nice - and free.


All times are GMT -5. The time now is 1:25 AM.

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