Add input check to stringparams.cpp

 -stringparams::show(int num) and conb_params_by(...) hadn't had input check.
 	so it had a risk of happen exception or segmentation fault.