Thank you everyone,
I did not think I missed anything. I spent about an hour reading over various C statements and tutorials before I asked.
I am working strictly in C to avoid getting too...
Type: Posts; User: Pete_2000
Thank you everyone,
I did not think I missed anything. I spent about an hour reading over various C statements and tutorials before I asked.
I am working strictly in C to avoid getting too...
'Basic' had a way to choose a character and repeat it as many times as needed in one statement. Great for drawing horiziontal lines in text-mode applications. Does such a statement exist in C of...
Thanks Valis,
I tried a couple of times to work with it but kept getting parsing errors. The link will come in handy. I need to learn some more C structure to work with these libraries.
I may...
Actually, I do need gotoxy. Keyboard input routines that evolve into word-processors require the programmer has complete control of the cursor position. You don't want certain keys pressed to be...
Thanks!
And wow, this forum is fast. I will take a few days and work on my keyboard routine. I have all the statements and functions I need for now, so it's time to put it all together.
Thanks...
#include <stdio.h>
#include <wndows.h>
int main(int argc, char *argv[])
{
void gotoxy(int x, int y)
{
COORD coord;
coord.X = x;
I'm working on a custom keyboard input routine. Again, thanks for the help yesterday with _getch(). I now have a loop that assigns a key press to a variable and uses printf to print it to the screen...
Thanks DWK,
Canada, cool - no pun intended, well, maybe. Actually, I have a friend in Canada who is a graphics artist and who programs as a hobby. Anyway, thanks for pointing me to that FAQ. I had...
Hi,
I am trying to figure out a way I can achieve the following in C:
Set a variable to read the keyboard but NOT display it on the screen as _gtchr() seems to do. I want to be able to use...