摘要
C++提供的STL容器类是一种可由用户定义数据类型的对象,在组织多层次存储结构与多样化数据类型的数据结构方面有较为突出的优势。文章以蛋白质残基数据提取与处理的问题为实例,基于map容器和vector容器建立了对应的数据结构,从数据文件中提取残基的关键信息并实施了相关计算,实现了多层次结构与多数据类型的数据组织,并在Code:blocks 12.11开发环境下进行了相关的C++程序实现。
STL container class of C++ is a sort of object of which the data type is user-defined. It shows prominent advantages in organizing data structures with multi-level storage structures and various data types. In this paper, to solve the problem of extracting and processing the data of protein residues, the corresponding data structure based on the map and vector container classes is designed. The key information of residues is extracted from data files and afterwards, these data are processed. Besides, the relevant C ++ programme is compiled under Code: blocks 12.11.
出处
《南通职业大学学报》
2015年第1期97-100,共4页
Journal of Nantong Vocational University