Julz, to get rid of the arrow-key in the inchar function, try:
if(key_lastpressed == 75) //arrow key
...
if(key_lastpressed == 77) //arrow key
...

...
else
{
str_cat(...);
}


~"I never let school interfere with my education"~
-Mark Twain