C语言一些常见的操作字符串方法
摘要:// 首字母大写 for(int i=0;(c=string[i])!='\0';i++) // 字符串碰到\0结束 C知识 { if (c==' ') { printf("%c",c), word=0; }else if (word==0) { word=1; if (c>=97&&ccou...
阅读全文
posted @ 2016-03-27 11:17
posted @ 2016-03-27 11:17
posted @ 2016-03-27 11:14
posted @ 2016-03-27 11:08
posted @ 2016-03-06 17:59
posted @ 2016-03-06 17:53