随笔分类 -  C/C++

摘要:一篇文章带你深入了解Mbed TLS是啥-电子发烧友网 (elecfans.com) mbedTLS简介_心永向阳的博客-CSDN博客_mbedtls mbedtls_joneming的博客-CSDN博客 阅读全文
posted @ 2023-01-08 22:17 Yavn 阅读(81) 评论(0) 推荐(0)
摘要:C程序中对时间的处理——time库函数详解 | 时间 (lmlphp.com) 阅读全文
posted @ 2022-12-26 17:26 Yavn 阅读(30) 评论(0) 推荐(0)
摘要:function IsSuffix() { filename=$1 fileSuffix=${filename##*.} if [ ${fileSuffix} != "zip" ]; then echo -e "\033[36mSecond parameter error, must be xxx. 阅读全文
posted @ 2022-09-12 15:36 Yavn 阅读(660) 评论(0) 推荐(0)
摘要:1、用strtok函数进行字符串分割 原型: char *strtok(char *str, const char *delim); 功能:分解字符串为一组字符串。 参数说明:str为要分解的字符串,delim为分隔符字符串。 返回值:从str开头开始的一个个被分割的串。当没有被分割的串时则返回NU 阅读全文
posted @ 2021-09-05 20:22 Yavn 阅读(735) 评论(0) 推荐(0)
摘要:#include<iostream> #include<string> using namespace std; int main() { string str; str = "123456"; cout << str << endl; //方法一:使用substr() str = str.subs 阅读全文
posted @ 2021-09-05 20:13 Yavn 阅读(5085) 评论(0) 推荐(0)