基于C语言的“大数据”计算研究  被引量:2

Research on"Big Data"Computing Based on C Language

在线阅读下载全文

作  者:方文雄 纪旭 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[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象