View Single Post
Old 08-26-2008, 11:06 PM   #4 (permalink)
bla!!
 
Monster Techie

Join Date: May 2004

Location: /usr/root/mn/us

Posts: 1,121

bla!! is on a distinguished road

Default Re: C++ Programming Help

There's many way to read input.

stdio.h would have most of them


scanf
fscanf
fgetc
getc

Here's a list with references
cstdio (stdio.h) - C++ Reference

Then all you need to do is compare the input with the ASCII of each letter
If it matches the letter you want, have it beep, if not skip

Embed this all in a loop and you're set.
__________________
<br>
Its a frigging Laptop, not a Labtop!!!!
bla!! is offline