How print format string passed as argument ?
example.cpp:
#include int main(int ac, char* av[]) { printf(av[1],\"anything\");
There's no way to automatically have the string contain a newline. You'll have to do some kind of string replace on your own before you use the parameter.