hi,i dn't know how to give input with text for this function.i already create function for this but i dn't know give input as non ASCII value(0-32) that Cobain with string or simple text
You might could make a string using escape sequences: http://en.cppreference.com/w/cpp/language/escape
Specifically you are probably going to be interested in the \xnn where nn is a hexadecimal number. So ASCII values 0-32 in hex would be 00-20.
You can look here for a table of ASCII values. http://www.asciitable.com/