这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界» 论坛首页» 嵌入式开发» 软件与操作系统» let us use the pointer programing in the

共6条 1/1 1 跳转至

let us use the pointer programing in the linux

专家
2016-07-30 15:51:38 打赏

In the linux system programing ,the pointer is important part.

so,we will see a simple example using the pointer. I hope it can help you know the pointer in the parameter transmit,the point function.

#include  char *input(void) { char *word; word="m.amcfsurvey.com"; return word; } int main(void) { char *p; p=input(); printf("p=%s\n",p); return 0; }

it can be compiled in ubuntu 12.04 using gcc compile tool.




关键词: pointer linux programing

院士
2016-07-30 18:24:30 打赏
2楼
就学习一个C语言指针,用得差在linux下这么忙活嘛

高工
2016-07-30 19:12:54 打赏
3楼
楼主英文不错

高工
2016-07-30 21:10:04 打赏
4楼

楼主厉害

it can be compiled in ubuntu 12.04 using gcc compile tool.


高工
2016-07-30 23:01:52 打赏
5楼

据说Linux系统是最适合学习c语言的哦



高工
2016-07-31 00:53:11 打赏
6楼
看看

共6条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册]