检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:方文雄 纪旭 FANG Wenxiong;JI Xu(School of Automotive and Transportation,Chengdu Technological University,Chengdu Sichuan 611730,China;School of Automation and Electrical Engineering,Chengdu Technological University,Chengdu Sichuan 611730,China)
机构地区:[1]成都工业学院汽车与交通学院,四川成都611730 [2]成都工业学院自动化与电气工程学院,四川成都611730
出 处:《信息与电脑》2021年第17期43-46,共4页Information & Computer
摘 要:在C语言中,超过一定字节的数据无法储存在常量和变量中,那么对数据的直接计算也就无从谈起了。笔者将介绍使用结构体定义一个数组,再利用calloc()函数实现数组内存长度动态变化,以达到储存“大数据”的目的。通过对数组的操作实现对“大数据”的计算,为C语言数组与指针的学习和应用提供了一定的指导。In C language,there is no way to store more than a certain number of bytes of data in constants and variables.Since there is no way to store,there is no way to directly calculate the data.This article will introduce the use of structure to define an array,and then calloc()function to achieve the dynamic change of array memory space,in order to achieve the storage of"big data",through the operation of the array to achieve the calculation of"big data".
分 类 号:TP312[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.116