470,870 Members | 1,400 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,870 developers. It's quick & easy.

position cursor in the console

Dear all,
I need to print in unmaaged code folowing line into console.
#blablabla#.
Where # should be rotating line(first |then/ then - then\).
How would I do that?
Thanks a lot,
Mar 1 '06 #1
1 1063
If the message was at the beginning of a line, then you could print the text
followed by \r to return your "printing position" to the start of the line,
then keep printing the same thing over and over (changing the first
character). I think that's the easiest way.

If you need more explicit positioning, under Visual C++ you need to use the
Win32 console functions, which can be found in MSDN.

Kevin.

"Boni" <no****@parampam.pam> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Dear all,
I need to print in unmaaged code folowing line into console.
#blablabla#.
Where # should be rotating line(first |then/ then - then\).
How would I do that?
Thanks a lot,

Mar 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Matthew Houseman | last post: by
9 posts views Thread by Samantha | last post: by
1 post views Thread by Tantra Veda | last post: by
1 post views Thread by Paul | last post: by
1 post views Thread by Emanuel | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.