C (384/414)

From:Shinda
Date:25 Jun 2000 at 17:55:00
Subject:Allocating Memory problems

When allocating memory I seem to get crashes when freeing or using it
near the end of its length. My question is that say I need 256 bytes
for a data string do I allocate it with a size of 255(counting from
0) or 256?

Shinda

------------------------------------------------------------------------
Paying too much for Long Distance is a global problem.
Join BeMANY! and Long Distance rates fall automatically.
http://click.egroups.com/1/4260/1/_/451227/_/961952106/
------------------------------------------------------------------------