// Justin C. Miller
// made for : http://www.geocities.com/neonprimetime.geo/index.html
// 3-16-2001
// Description : how link lists/pointers work
// made on MS Visual C++ 6.0

#include 
#include 

struct node{
	int data ;
	node * link ;
};

int main(){
	node * head = new node ;
	node * second = new node ;
	node * third = new node ;
	node * last = new node ;
	head->data = 4 ;
	head->link = second ;
	second->data = 9 ;
	second->link = third ;
	third->data = 11 ;
	third->link = last ;
	last->data = 15 ;
	last->link = NULL ;

	node * current = new node ;
	current = head ;// equivalent to a Front() function

	cout << "WATCH AS THE NODES/POINTERS POINT TO EACHOTHER" << endl ;
	while(current){
		cout << "current address:" << current ;
		cout << "  current links to:" << current->link << endl ;
		current=current->link ;
	}

	// simple print function for a link list
	cout <<"YOUR ACTUAL DATA" << endl ;
	current = head ;// equivalent to a Front() function
	while(current){
		cout << current->data << endl ;
		current = current->link ;
	}

	return 0 ;
}

    Source: geocities.com/neonprimetime.geo/cpp/cpp_SourceCode

               ( geocities.com/neonprimetime.geo/cpp)                   ( geocities.com/neonprimetime.geo)