Well, I think you should do as Matan said & use vga_getkey() to record the
keystrokes. Go ahead and append the input to a char array -- you can test
each key to see if it's a comma or whatnot (and then simply ignore it if
it is) -- and then do your char to float conversion when you receive a
newline.

Of course, ASCII codes 48 - 57 are the numbers 0 - 9, respectively, so it
would be easy to ignore input outside of this range.


-JL

Reply via email to