No newline after input in C
Posted
by pwseo
on Stack Overflow
See other posts from Stack Overflow
or by pwseo
Published on 2010-04-25T21:46:18Z
Indexed on
2010/04/25
21:53 UTC
Read the original article
Hit count: 204
Hello there,
How can I prevent a given app from creating a newline ('\n') after I request user input in C? I'd like something like:
Type a number
Number: 3x10 = 30
The "x10 = 30" is added after the user inputs the number.. The problem is I can't do it on the same line (and I'd like to do it).
Can anyone help me?
© Stack Overflow or respective owner