printf - How do you type something on the same line of text in C -
i wondering how can type in 1 line in c?
this normal way outputs.
output
> <text>
instead
> <text>
from tags, i'm guessing you're using printf(). leave out "\n" character, means "newline.".
in other words.
printf("> "); printf("text\n");
this print:
> text
Comments
Post a Comment