text: #include <stdio.h>
  #include <stdlib.h>
  #include "SeqList.h"
  
  /* run this program using the console pauser or add your own getch, system("pause") or input loop */
  
  int main(int argc, char *argv[]) 
  {
      SeqList* list = SeqList_Create(5);
      
      int i = 0;
      int j = 1;
      int k = 2;
      int x = 3;
      int y = 4;
      int z = 5;
      int index = 0;
      
      SeqList_Insert(list, &i, 0);
      SeqList_Insert(list, &j, 0);
      SeqList_Insert(list, &k, 0);
      SeqList_Insert(list, &x, 0);
      SeqList_Insert(list, &y, 0);
      SeqList_Insert(list, &z, 0);
      
      for(index=0; index<SeqList_Length(list); index++)
      {
          int* p = (int*)SeqList_Get(list, index);
          
          printf("%d\t", *p);
      }
      
      printf("\n");
      
      while( SeqList_Length(list) > 0 )
      {
          int* p = (int*)SeqList_Delete(list, 0);
          
          printf("%d\t", *p);
      }
      
      SeqList_Destroy(list);
      printf("\n\n");
      return 0;
  }
  