Thread: How to Input without Breaking line in a console?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    162

    How to Input without Breaking the Line in a console?

    Hi, all... sorry me again

    How do you request a user to input a string like "cin >> x;" without breaking the current line where the input took place, when the user hits the Enter key? So that when you output a string to the console like "cout << x;", the output will be on the same line where the user inputed last.
    Last edited by Aidman; 03-11-2003 at 02:00 PM.
    We haven't inherited Earth from our parents; instead we have borrowed her from our children - old Indian saying.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. can someone help me with these errors please code included
    By geekrockergal in forum C Programming
    Replies: 7
    Last Post: 02-10-2009, 02:20 PM
  2. Controlling console command window input
    By DanFraser in forum C# Programming
    Replies: 0
    Last Post: 11-27-2007, 10:34 AM
  3. Console application - input handling
    By Something in forum C++ Programming
    Replies: 4
    Last Post: 06-09-2007, 02:19 PM
  4. reading an input line using scanf() with %c
    By linucksrox in forum C Programming
    Replies: 6
    Last Post: 04-04-2004, 03:10 PM
  5. How to put a Char into the Input buffer of a console?
    By Aidman in forum C++ Programming
    Replies: 10
    Last Post: 03-09-2003, 10:05 AM