Hi,

sorry, this posting is a litte bit OT, but I need a small chunk of code
for reading a key press (blocking) from standard input. I wan't to
code something like a PTT key. On every hit on the "blank"-key the mic should
be switched on and the speaker should be switched of until releasing the
key. I had some pieces of code written 10 years ago but I cannot find
them... and I won't read everything about termios again :-/

Next question: how do I code in C something like hashed in Perl?
I have a list of frequencies and geographic coordinates of the
corresponding airport. I need to check every 10 seconds if my actual
position (of the plane) is in a specified range towards all positions
in this list. How should I store this list? There will be about 16000 items
in this list...

Thanks, Holger
-- 
#####  #### ##  ##   Holger Wirtz         Phone : (+49 30) 884299-40
##  ## ##   ### ##   DFN-Verein           Fax   : (+49 30) 884299-70
##  ## #### ######   Stresemannstr. 78    E-Mail: [EMAIL PROTECTED]
##  ## ##   ## ###   10963 Berlin
#####  ##   ##  ##   GERMANY              WWW   : http://www.dfn.de
GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC  0C51 E961 79E2 6685 9BCF

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to