![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
yuanCruise
工科生的笔尖
展开
-
C语言 | 解析json
// 用cjson.c和cjson.h读取json文件,保存json文件#include "cJson.h"/*// 示例json,名称为1.json[ { "ImgName":"abc.jpg" "ImgInfo": { "ImgSize": [ 1...原创 2019-12-13 21:54:53 · 519 阅读 · 0 评论 -
C语言 | 函数内修改数组值(指针的应用)
#define OK 1int RetArr(ivs_sint32_t *a){ a[0] = 2; a[1] = 3; return OK;}int main(){ int out_a[2] = { 0 }; RetArr(out_a); for (int i = 0; i< 2; i++) { printf("%d \n",out_a[i]); } ...原创 2019-10-05 10:56:54 · 16548 阅读 · 2 评论