when u use getchar if the buffer is empty then it just sits and waits, is their any way to skip this, or chek the buffer first??