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?

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.