what are these %d or /n

characters like %d or /n used in c++, what are these guys called? if i want a full table of these characters, what name should search for??

Two different kinds of things.

'\n' is the newline character, and belongs to the category of escape codes:
http://www.cplusplus.com/doc/tutorial/constants/

%d most likely is the format specifier character used by certain functions such as printf()
http://www.cplusplus.com/reference/cstdio/printf/
http://www.cplusplus.com/reference/cstdio/scanf/
Topic archived. No new replies allowed.