- 博客(2)
- 资源 (12)
- 收藏
- 关注
原创 Mac 下编译pjsip出现"-bash: ./configure-iphone: /bin/bash^M: bad interpreter: No such file or directory"解决
在mac或者unix下编译pjsip,运行./configure-iphone命令,有时候会出现"-bash: ./configure-iphone: /bin/bash^M: bad interpreter: No such file or directory",这个问题是由于脚本在Windows下编辑过,就有可能被转换成Windows下的dos文本格式了,将这个脚本文件直接放在Mac上...
2019-03-25 14:37:01 715
原创 typedef struct 详解
一、在C中定义一个结构体类型要用typedef 1、 typedef struct tagStudent { int a;}Stu;Stu实际上就是struct tagStudent的别名,声明变量可以 struct tagStudent stu1; 或者Stu stu2;2、 typedef struct { int a; }Stu; 声明变量只能
2017-06-27 10:25:01 969
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人