0

Okay I've been working with printf for a while on C and I have been trying to use some of the backslash commands such as:

\b = backspace

\r = moves the cursor to the beginning of the line

For some reason they don't seem to work on xCode.

1. Are these the right backslash commands or are my definitions incorrect? If they are why wouldn't they work, or how do they work?

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by nezachem
0

The program will just emit a literal encoded by a backslash escape. It is up to the terminal to interpret it.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.