JF Mezei wrote:
> Re: C and buffer overflows.
>
> Is there a language which keeps 2 values for each string: amount
> allocated and amount currently in use ?
The STR$ routines in the VMS RTL and, IIRC, the latest Fortran
standard, support dynamic length strings. This allows the allocated
and used length to be the same.