I desperatly tried to find out what symbol '\nquit' is... and I couldnt find any reference in the web.

What I tried to find is a complete list of all of those characters (\n, \p, \0, ...) but I couldn't find any.

cheers usche

有帮助吗?

解决方案

Wikipedia has a list of C language escapes here.

As noted in my comment, I believe this represents the newline (linefeed) character \n followed by the word quit (which would be forced by the newline to the beginning of the next line of output). But in that case the string should be "double"-quoted rather than 'single'-quoted.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top