上一页 1 2 3 4 5 6 7 8 ··· 35 下一页
摘要: 高级使用方法有两种:第一种是变量的替换引用,第二种是变量的嵌套引用。 第一种用法经常用到,第二种用法我们很少使用。我们应该尽量避免使用变量的嵌套引用,在必须使用时,嵌套的层数越少越好。因为这种方法表达比较复杂,条理难以理清。 变量的替换引用: 我们使用变量的时候,经常对它的值(字符串)进行操作。 操 阅读全文
posted @ 2023-02-20 14:44 一个不知道干嘛的小萌新 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 1.例子 DEP_LIBRARIES := lib@InfoSDK_api lib@WMTMedia lib@WMTUtil lib@curl 该变量是Makefile里面内置的变量,作用是指定依赖的库文件,这些库文件在编译目标文件时需要链接到目标文件中。例如,如果我们的程序需要使用libcurl库 阅读全文
posted @ 2023-02-20 14:06 一个不知道干嘛的小萌新 阅读(37) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_44388689/article/details/122239582 https://www.cnblogs.com/endless-code/p/11198658.html 阅读全文
posted @ 2023-02-17 15:09 一个不知道干嘛的小萌新 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 1.需要链接ssl库 cation/RS232_broker/../../../project/release/cardv/i6e/common/glibc/9.1.0/via_libs/dynamic/libcurl.so, not found (try using -rpath or -rpat 阅读全文
posted @ 2023-02-16 15:55 一个不知道干嘛的小萌新 阅读(176) 评论(0) 推荐(0) 编辑
摘要: CURLOPT_TIMEOUT选项设置了超时时间为 10 秒,如果在这个时间内没有下载完成,则会返回一个超时错误,可以在回调函数中进行错误处理。如果网络异常或其他错误,也会在curl_easy_perform函数中立即返回错误,而不是一直阻塞等待。 #include <stdio.h> #inclu 阅读全文
posted @ 2023-02-16 14:56 一个不知道干嘛的小萌新 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 1. int ip(char *input) { // Assume input is domain name int is_domain = 1; // Check if input is a valid IP address for (const char *p = input; *p != ' 阅读全文
posted @ 2023-02-16 11:34 一个不知道干嘛的小萌新 阅读(268) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/that-boy-done/p/10680107.html 阅读全文
posted @ 2023-02-14 15:58 一个不知道干嘛的小萌新 阅读(13) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_49199646/article/details/108956086 阅读全文
posted @ 2023-02-10 09:40 一个不知道干嘛的小萌新 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 1.封装printf #define DEBUG 1 #ifdef DEBUG #define LOG(format,...) printf("FILE: "__FILE__",Func: %s, Line: %d\nmsg: " format "\n", __FUNCTION__, __LINE_ 阅读全文
posted @ 2023-02-08 14:30 一个不知道干嘛的小萌新 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 源码: /************************************************************ Copyright (C), 2016, Leon, All Rights Reserved. FileName: download.c coding: UTF-8 D 阅读全文
posted @ 2023-02-02 18:03 一个不知道干嘛的小萌新 阅读(147) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 35 下一页