i have two questions
1. what is [code] \a[\code]?
2.how to use sound files in c++?
rgds
saimadhav
i have two questions
1. what is [code] \a[\code]?
2.how to use sound files in c++?
rgds
saimadhav
1. If you output \a to the console on most systems, it will do some sort of simple Beep.
2. If you asked "Can you use sound files in C++", then the answers is definitely yes (subject to the OS environment having some sort of support for audio files). The question you ask is like asking someone "How do I change the valve springs in an engine?" - if you have never taken a combustion engine apart, or otherwise have good knowledge of how it works, it will take a very long time to explain.
How much do you know about sound and computers?
Edit: Also, perhaps you can explain a bit further what you actually want to achieve?
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
i am a game programmer (to be) and i want to use sounds
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
i am pretty good at sounds ....... i am a hardware assembler
how do i use \a?
for example.Code:printf("\a");
What's a "hardware assembler", do you mean that you put hardware together, or that you know how to write assembler code?
Ok, so can you describe how a .WAV file gets played in a PC [I don't mean how you write the code, but generally as a concept]?
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.