摘要: 原子是一个指向唯一的、不可改变的0个或任意多个字节序列的指针。大多数原子都是指向以空字符结束的字符串,但是任何一个指向任意字节序列的指针都可以是原子。任何原子只可以出现一次。原子通常被当作数据结构中的关键字使用。Atom接口:(atom.h)#ifndef ATOM_INCLUDEED#define ATOM_INCLUDEEDextern int Atom_length(const char *str);extern const char *Atom_new(const char *str,int len);extern const char *Atom_string(const char 阅读全文
posted @ 2011-06-04 18:56 cpoint 阅读(592) 评论(0) 推荐(1) 编辑
浏览次数:travelocity promotion codes