c was made to write OS Hex Binary Hex Binary 0 0000 8 1000 1 0001 9 1001 2 0010 A 1010 3 0011 B 1011 4 0100 C 1100 5 0101 D 1101 6 0110 E 1110 7 0111 F 1111 lass linked_list { public: class linked_list_element { public: int data; // Data in this element private: // Pointer to next element linked_list_element *next_ptr; friend class linked_list; }; public: linked_list_element *first_ptr; // First element in the list // Initialize the linked list linked_list( ) {first_ptr = NULL;} // ... Other member functions }; infinite array #include // number of elements to store in each cell of the infinite array const unsigned int BLOCK_SIZE = 10; class infinite_array { private: // the data for this block int data[BLOCK_SIZE]; // pointer to the next array class infinite_array *next; public: // Default constructor infinite_array( ) { next = NULL; memset(data, '\0', sizeof(data)); } // Default destructor ~infinite_array( ); // Return a reference to an element of the array int& operator[] (const unsigned int index); }; Goodness and evil never share the same road, just as ice and charcoal never share the same container. ÑChinese proverb