right ive got a problem!would be cool if any1 could help!
while(1)
{
/*get key press*/
gettchar(&ch);
switch(ch)
{
case '1': /*Start Engine*/
ready();
break;
case '2' : /*test lights*/
emergency_lights();
break;
case'3': /*Exit*/
exit();
break;
}
} as far as i know this should work so when i press 1,2 or 3 it will jump into certain functions. But it doesnt like gettchar when i compile.above that part of code ive got simple printf's for menu!sorry it must be stupid question but im only begginer.thanx in advance


maybe anybody knows any other good simply programms to use?
