摘要: 通常是用来按照一定的格式,给字符窜赋值的,像char buf[100] = {0};char s1[10] = "hello world";char s2[10] = "tom";sprintf(buf,"zifuchuan is %s,he int %s",,s1,s2);printf("buf ... 阅读全文
posted @ 2015-07-16 10:39 tsguosj 阅读(362) 评论(0) 推荐(0)