首页 | 本学科首页   官方微博 | 高级检索  
     检索      

C指针在嵌入式系统开发中的方法研究
引用本文:钱龙飞,唐焱,刘俊杰.C指针在嵌入式系统开发中的方法研究[J].大众科技,2014(10):8-10.
作者姓名:钱龙飞  唐焱  刘俊杰
作者单位:桂林电子科技大学机电工程学院,广西 桂林,541004
摘    要:以嵌入式技术为基础的服务性产品,它具自动化程度高、响应速度快等优点,但开发嵌入式技术,需要以编程语言为基础,目前存在的语言有很多种,选择一种合适的语言至关重要。C语言开发嵌入式系统相对于其他语言来说具有高效性与灵活性,掌握C指针的利用,不仅使得代码优化,而且可以提高系统的运行效率。文章结合嵌入式系统的特点,从指针寻址,指针引用数组元素,动态申请内存空间,函数指针还有避免野指针等几个方面,阐述了高效利用C指针进行嵌入式系统开发。

关 键 词:嵌入式系统C语言  指针  内存

C pointer method applied in the embedded system development
Abstract:Embedded technology-based service,with a high degree of automation,fast response,etc,but the development of embedded technology,based programming language,there are a variety of existing language,choose a suitable language is crucial.C language development of embedded systems with respect to the efficiency and flexibility in other language, proficiency in C pointer, not only makes code optimization, but also improve the efficiency of the system. In this paper, the characteristics of embedded systems, addressed from a pointer, the pointer reference array elements, dynamic application memory space, function pointers, as well as wild pointer on the efficient use of C pointers embedded system development.
Keywords:An embedded system C language  pointer  memory
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号