Linux迷,Python粉
人生苦短,我用Python 新博客https://blog.pythonwood.com 问题小站https://qa.1r1g.com 智问智答https://qa.1r1g.cn
摘要: 总结1:今天找到了昨天scanf的问题答案,scanf与printf一样的神奇而复杂,稍不留神,就会被坑。scanf函数在读入非空白符分割的多个字符串的解决方法是这个:/* 以 | 分割 */scanf("login|%d|%[^|]|%[^|]", &type, name, password);总... 阅读全文
posted @ 2014-08-15 22:18 月冷风和霜 阅读(303) 评论(0) 推荐(0) 编辑

智问智答 https://qa.1r1g.cn 问题小站 https://qa.1r1g.com