if (getch() != EOF)
getch();
Basically if the buffer is empty, then good, but if it's not then I want to do the getch() (there would only be 1 thing in the buffer so this would work...
Type: Posts; User: Punkture
if (getch() != EOF)
getch();
Basically if the buffer is empty, then good, but if it's not then I want to do the getch() (there would only be 1 thing in the buffer so this would work...
I'm using mainly Windows 98 to develop and sometimes WinXp with Visual Studio 6.0.
Any idea's?
Is there an ASCII number for the arrow keys on your keyboard?
Right now I'm using the num pad arrows (8 - Up,2 - Down,4 - Left,6 - Right) and it would be ideal to use the real arrows.
Is there...
Shouldn't the array index be i not count?
Okay, no function, so could you guys set me on the right direction on how I could go about accomplishing it?
I'm using Microsoft C++ 6.0 and developing it on mainly Win98 but maybe WinXP as well.
Is there a way to monitor input in C? I'm looking for something similar to the INKEY$ function in QBasic where it looks input in a loop.
I know of getchar(), but you have to enter \n (new line) to...
Bump! Any other info from anyone?
I looked on MSDN but didn't find a language reference for C!
Is there any way you can change the font that is outputted in the console window?
Yes, I know it's in the FAQ but I have a question about it. This is my final year in high school and we were just introduced to C so I'm really just exploring its limits.
I want to display a BMP...
Any idea on how I could go about to do it?
I'm using the Microsoft Visual Studio 6.0!!
Any way to increase the console size so I can have more than 24 vertical lines and 81 horizontal?
Any way to increase the console size so I can have more than 24 vertical lines and 81 horizontal?
Is there a clear screen function similar to that of CLS in Qbasic?
How do you draw lines (just simple graphics) in C? I've got a project coming up and it's a game so this would be helpful.
Thanks