- 博客(5)
- 收藏
- 关注
原创 另外一个 指针与内存的错误
#include #include struct { char *uid[2]; char *pop[2]; int nput; }shared; int main(){ char *p; char *p1,*p2; char message[]="abc,edf"; p=strtok(message,","); if(p) //
2011-12-14 15:47:23
205
原创 传指针与传引用
卡在一个最基础的问题上一天 示例如下: #include #include void function(char *b)//实现两个参数交换 { b="abc"; } void main() { char *a="cde"; function(a); printf("%s\n",a); } 此时打
2011-12-14 15:25:13
170
转载 gcc生成静态库和动态库
引用 [转]gcc生成静态库和动态库 2009-08-04 11:05:16| 分类: AVR/GCC | 标签: |字号大中小 订阅 . 引用小严 的 [转]gcc生成静态库和动态库我们通常把一些公用函数制作成函数库,供其它程序使用。函数库分为静态库和动态库两种。静态库在程序编
2011-09-29 18:28:38
254
转载 error while loading shared libraries 转载
执行程式时,如此遇到像下列这种错误: ./tests: error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or directory ./t
2011-09-29 18:27:46
267
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅