// ------------------------------- //
// -------- Start of File -------- //
// ------------------------------- //
// ----------------------------------------------------------- // 
// C++ Source Code File Name: testprog.cpp 
// Compiler Used: MSVC 6.0 SR3
// File Creation Date: 11/09/2000 
// Date Last Modified: 12/07/2000
// ----------------------------------------------------------- // 
// ------------- Program Description and Details ------------- // 
// ----------------------------------------------------------- // 
/*
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
THE ENTIRE RISK OF THE QUALITY AND PERFORMANCE OF THIS SOFTWARE
IS WITH YOU. SHOULD ANY ELEMENT OF THIS SOFTWARE PROVE DEFECTIVE,
YOU WILL ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR
CORRECTION.

Code used to demonstrate the use to the leak test functions.
*/
// ----------------------------------------------------------- //  
#include <iostream.h>
#include <string.h>
#include "leaktest.h"

int main()
{
  //  Initialize leak checking code
  InitLeakTest(); 
  
  cout << "Allocating 255 bytes of memory on the heap" << endl;
  char *sbuf = new char[255];
  strcpy(sbuf, "Test Message");
  
  cout << "Exiting without freeing the memory" << endl;
  return 0;
}
// ----------------------------------------------------------- // 
// ------------------------------- //
// --------- End of File --------- //
// ------------------------------- //