0

how should i write or change the input code in c++ so that in the ouput screen there is no change of line. That is, even after encountering a "cin" statement and taking the respective input from the user and also after pressing enter the cursor remains in the same line . is there any way to do so? please help.

soumya dubey
  • 63
  • 1
  • 1
  • 10

1 Answers1

1

The language and its standard library have no notion of screen or cursor.

What you want to do definitely depends on your architecture and operating system. On POSIX systems, disabling echo on the terminal may be a starting point.

Paulo1205
  • 918
  • 4
  • 9