Problem c programing

Play sound from speaker in c program

Page 1 of 1

1 Replies - 1184 Views - Last Post: 19 October 2008 - 08:14 AM Rate Topic: -----

#1 kumarpathak17  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 19-October 08

Problem c programing

Post icon  Posted 19 October 2008 - 05:47 AM

Dear All,

just i am facing to play sound in c programing..i want to play sound as i wish such as wen i press any key play should and when i give any input then sound should be stop.please some body help me i really thank ful.
Is This A Good Question/Topic? 0
  • +

Replies To: Problem c programing

#2 BetaWar  Icon User is offline

  • #include "soul.h"
  • member icon

Reputation: 1184
  • View blog
  • Posts: 7,254
  • Joined: 07-September 06

Re: Problem c programing

Posted 19 October 2008 - 08:14 AM

I don't think we are quite speaking the smae programming talk. Keyboard input is still input, and according to what you said you want to stop the sound when any input is given, so you want it to beep and stop. That will be a very quick sound so I hope you aren't wanting much to play through during that time.

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: :code:

Thanks.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1