熟练掌握并使用字符串操作函数
课件PPT下载 字符串操作函数
字符串就是字符数组
【掌握以下内容】
1 2 3 4 5 6 | 字符串的输入 scanf gets 字符串的输出 printf puts 字符串的长度 strlen 字符串的复制 a = b 字符串的比较 if (a > b) 字符串的连接 a = a + b |
学习内容
1 2 3 4 5 6 | puts() 函数----输出字符串的函数 gets() 函数----输入字符串的函数 strcmp() 函数----字符串比较函数 strcpy() 函数----字符串复制 strcat() 函数----字符串连接函数 strlen() 函数----测字符串长度的函数 |