CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 1999
    Location
    Salisburyl UK
    Posts
    324

    Quick Question !!

    I find myself having to write a small console app....
    Something I dont do very often..!
    Can Someone tell me how to position the cursor within my conslole window......

    Many thanks in advance !
    Philip..( )

  2. #2
    Join Date
    May 2002
    Location
    Texas
    Posts
    222
    I believe that would be OS dependent.

  3. #3
    Join Date
    Jun 2002
    Location
    Letchworth, UK
    Posts
    1,020
    It varies from OS to OS. What OS/compiler are you using?
    Succinct is verbose for terse

  4. #4
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125
    In the good old days, the use of ANSI.sys gave a standard set of escape sequences that were device independant (e.g. <ESC>[2J would clean the screen).

    Not sure if there are valid ANSI.sys files for the console environments in all of the latest windows. If they do in fact still exist, that is the way I would go.

    Hope this helps...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured