void puts1(const char* str)
{
while(*str != '\0') //找字符串末尾
{
putchar(*str++); //打印当前字符,再使str++
}
}
puts1() (自定义输出函数,打印字符串,不添加'\n')
猜你喜欢
转载自blog.csdn.net/qq_40732561/article/details/81179735
今日推荐
周排行