C/C++
array.asc
Associated article: Array Bounds Checking With Turbo C
Tags: C/C++
_ARRAY BOUNDS CHECKING WITH TURBO C_
by Glenn Pearson
[LISTING ONE]
void *p;
void *q;
/* Make life easier when dealing with segment and offset pointers. */
static union {void *A;
struct {unsigned Offset,Segment;} Word; } LrgPtr;
p = malloc(bytes);
if (p ...


