--- q u a s i <quasar(a)vsnl.net> wrote:
For truly
flexible storage a linked lists of buffers may be more
the way to go.
hmm... not really.. plethora of known problems here unless
u r careful (think speed of access.. ) if u can use then go
for BOOST library (C++).
Re-iterating the point .. Again this is for flexible
storage.. It has nothing to do with buffer overflow
problem. That is a coding issue.
Just as an eg., windows CRT in scanf, gets, uses a simple
algorithm. Allocate 4096 byte buffer array. Read inputs in
chunks of 4096 bytes and keep passing!
hth,
Shailesh
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com