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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -