how to run an audio file in C programming language as we access a textor any other kind of file........

You can try system function.

Here is one way to do it. If you google for "play sound" you will find other ways.

It basically depends on the kind of feat you are trying to achieve. Well if you want to go for normal playing of audio files you can try the above methods. But if you want to manipulate the sound stream like in games you can try out the open source sound libraries out there like "Bass" and "Audiere". Just google for them and you would be a happy man.

Hope it helped, bye.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.