Z
Zach
Is there a way to stop the cursor dropping to the next line after a
Console.PrintLine()? "\b" and SendKeys.Send(...) or SendWait won't work.
Zach.
Console.PrintLine()? "\b" and SendKeys.Send(...) or SendWait won't work.
Zach.
Is there a way to stop the cursor dropping to the next line after a
Console.PrintLine()? "\b" and SendKeys.Send(...) or SendWait won't work.
As far as I can see then Console does not have a PrintLine, but
it does have a WriteLine. Write instead of WriteLine may be what
you are looking for.
Arne
Oh a typo, confusion, sorry. Question remains.
How to stop the cursor from dropping down after
Console.WriteLine("whatever");
Have you tried:
Console.Write("whatever");
?
Arne
Yes, I have had a look. I will download the chart for future reference.You may also want to take a look at what else the Console class
provides (e.g. you can set cursor location and other more advanced
things such as open standard input and output streams):
http://msdn.microsoft.com/en-us/library/system.console.aspx
Kris Sheglova
Oh a typo, confusion, sorry. Question remains.
How to stop the cursor from dropping down after
Console.WriteLine("whatever");
Yes the "line" bit causes dropping to a new line. I have, in the meanFor reference, the "Line" in "WriteLine" is what's making it go to a
new--wait for it--line! Other methods do the same. (Specifically, methods
that end in "Line" add a newline sequence to the string they output.)
Yes the "line" bit causes dropping to a new line. I have, in the mean
time, been referred to a site with all the Console etc options, so I am
better informed now. (I hardly ever use Console stuff, unless I want to
test some code, hence my ignorance.) Many thanks all the same and best
wishes for 2012.
Yes, I missed that point you were making.Rightly so as well.My point is that it's not just Console stuff. StringBuilder.AppendLine(),
for example.
For reference, the "Line" in "WriteLine" is what's making it go to a
new--wait for it--line! Other methods do the same. (Specifically, methods
that end in "Line" add a newline sequence to the string they output.)
Yes, I missed that point you were making.Rightly so as well.
Zach.- Hide quoted text -
- Show quoted text -
string terminator bit. 0. i don't even want to know what hacker could
do with that and c++.
gpu has video mode 0 and 1. 3d game engines suck on ur pc because
they are stuck to video game programmers trying to build some type of
huge data structure (BSP) oout of what is good for a 2d GUI and good
for a 3d GUI too. doesn't work for a complex 3d game.
consoles and their GPU modes ?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.