Category : C Source Code
Archive   : TCPPTECH.ZIP
Filename : DYNAMIC.H

 
Output of file : DYNAMIC.H contained in archive : TCPPTECH.ZIP
// GLOBAL DYNAMIC MEMORY HANDLER TEMPLATE
// dynamic 1.00 04-Aug-1990
// Turbo C++ 1.0
//
// Implements a template for replacing C++'s default memory
// allocation operators
//
// Written by Scott Robert Ladd

#include "stddef.h"

#if !defined(DYNAMIC_CPP)
extern void (* _new_handler)();
#endif

void * operator new (size_t size);

void operator delete (void * ptr);

extern "C"
{
void * _vec_new (
void * aptr,
unsigned int num,
size_t size,
void * (*ctor)(void *));

void _vec_delete (
void * aptr,
unsigned int num,
size_t size,
int (*dtor)(int, void *),
int freeup);
}


  3 Responses to “Category : C Source Code
Archive   : TCPPTECH.ZIP
Filename : DYNAMIC.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/