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

利用数组和指针对字符串操作的比较应用
引用本文:洪阳.利用数组和指针对字符串操作的比较应用[J].包钢科技,2011,37(6):62-64.
作者姓名:洪阳
作者单位:内蒙古包头钢铁职业技术学院,内蒙古 包头,014010
摘    要:文中通过实例阐述了字符串指针变量与字符数组在处理字符串上的区别,利用指针数组比二维数组更适合于对若干个字符串的处理,使用更加方便灵活、效率更高。

关 键 词:字符数组  字符指针变量  指针数组

Comparative Applications of Arrays and Pointers in Operations of Character Strings
HONG Yang.Comparative Applications of Arrays and Pointers in Operations of Character Strings[J].Science & Technology of Baotou Steel(Group) Corporation,2011,37(6):62-64.
Authors:HONG Yang
Affiliation:(Baotou Vocational and Technical College of Steel,Baotou 014010,Nei Monggol,China)
Abstract:In the paper,the differences of disposing character strings with string variables of pointers and character arrays are elaborated through practices.The pointer arrays are more suitable for disposing a certain amount of character strings than two-dimensional arrays as well as they are more convenient and flexible to use so that the efficiencies are higher.
Keywords:character arrays  string variables of pointers  pointer arrays
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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