摘要: 这些功能其实可以调用标准库里的函数,也是同样的功能。 1.字符串倒序输出 实现逻辑,通过strlen获取字符串长度,然后通过 len/2 进行交叉赋值,这里需要注意,不需要考虑len是奇数还是偶数的问题。 如果len是奇数,最后一个字符就不需要倒序,如果是偶数,最后两个字符就倒序。、 #includ 阅读全文
posted @ 2020-12-20 23:47 jest549 阅读(220) 评论(0) 推荐(0) 编辑
摘要: speedtest依赖的库包括:curl、expat curl库下载地址:https://curl.haxx.se/download.html expat库下载地址:https://github.com/libexpat/libexpat(https://github.com/libexpat/li 阅读全文
posted @ 2020-12-20 23:30 jest549 阅读(1464) 评论(4) 推荐(0) 编辑