Quick H/W question...

This is a discussion on Quick H/W question... within the C++ Programming forums, part of the General Programming Boards category; In the thread I posted, they had this code: Code: // Sets the cursor position back to the first row ...

  1. #16
    Epo
    Epo is offline
    Registered User
    Join Date
    Jun 2003
    Posts
    361
    In the thread I posted, they had this code:
    Code:
     // Sets the cursor position back to the first row and column
    COORD coordScreen = { 0, 0 }; 
    SetConsoleCursorPosition(hConsole, coordScreen);
    I've never tried any of this code out, but I'd guess that should do the trick...

    [edit]
    And info on the hConsole variable is there too, I realized there's more to it after posting, but to show it all, I'd actually have to post it all (go figure) so it would be kind of redundant.
    [/edit]

    [edit]
    I see the clrscr() function, the one mentioned in the FAQ, that you mentioned is actually the very same thing I'm talking about here...well then...I don't know what else to say....
    [/edit]
    Last edited by Epo; 09-12-2004 at 08:49 PM.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Very quick math question
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 10-26-2005, 11:05 PM
  2. very quick question.
    By Unregistered in forum C++ Programming
    Replies: 7
    Last Post: 07-24-2002, 03:48 AM
  3. quick question
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 07-22-2002, 04:44 AM
  4. Quick Question Regarding Pointers
    By charash in forum C++ Programming
    Replies: 4
    Last Post: 05-04-2002, 11:04 AM
  5. Quick question: exit();
    By Cheeze-It in forum C Programming
    Replies: 6
    Last Post: 08-15-2001, 05:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21