KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
printf("Error %d\n", 1); printf("\nStatus: %d%%", 50); prints Error 1 Status: 50% In this set up, is there any chance to insert Error 2\n between Error 1\n and \nStatus: 50% . I understand that \r and \b can be used to change printed text in the same line (e.g., if there is a single \n between Error 1 and Status: 50% ), but can I change text in a previous line? Thanks!
Tags (comma-separated)
Save Edits
Cancel