ok, im doing a morse code program and i have already got a translator form english to morse, but i need to do english to morse sound, i know how to do the sound etc i just need to know how to get the user in put of a letter, the program to recognise it as a "." or a "-", and if its a "." or an "-"the program to play a two different sounds whether or not it is a "." or a "-". i hope people understand :S basically i want to get an if statement saying "if in the english to morse function the letter inputted was a . or - play the sound accordingly..."
I think, although im not entirely sure, but there is no different tones, only just the one, which is \a or also written as \7 in C or C++. im sure theres add-ons you can get. Are you writing it in Console mode or in a Windowed Application? Kev.