문제

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