I've been experimenting a bit with the Windows Console and with a bit of searching I can now set text colour and position the cursor anywhere on the screen to write text, get keyboard input (including arrow keys)... that's easy.
But I have two main problems:
1) I'm using a FOR loop to fill the entire screen with a certain colour and have a border. I use charactors at the edges of the screen to make a border. However, it is very slow - you can see it drawing each charactor across the screen. It takes a second or two. Can this be made faster?
I tried using cout to write entire strings at a time, but subsequent gotoxy() functions wouldn't change the position at all. I'm using the gotoxy() function in the FAQ.
2) Minor problem, but writing a charactor in to the very bottom-right co-ordinate scrolls the screen down a line. I can leave it out, but it doesn't look too nice with a small black gap in the corner of the border. Can I prevent the console scrolling down?
Using: Microsoft Visual C++ 6.0 on Windows 98.
Someone will probably say something along the lines of 'Just make a win32 application', but I've tried experimenting and looking up some information and had little success. Is there anywhere I can get hold of some decent tutorials for a windows application? Setting pixels, writing a string, getting keyboard input, that sort of thing?
Thanks for your patience.