Nico Heinze wrote: > --- In [email protected], Thomas Hruska <[EMAIL PROTECTED]> wrote: > <snip> >> Is _one_ of the worst ideas ever (I never said 'the worst'). >> I know what a buffer overflow is. You seem to think there >> is a difference between ANSI C and ANSI C++ with regards to >> the underlying usage of memory. There isn't. Using a special >> character to signify the termination of data has and always >> will be a bad idea inherited from the DOS days of yore. > > May I dare to be pernickety here? > This is not correct; the K&R C notion of strings being terminated by > the NUL character originates from the late 1960's when Brian > Kernighan, Dennis Ritchie, and Ken Thompson started their work on the > first versions of Unix; it's noteably older than MS-DOS which (as of > my knowledge) dates back to 1980 or so; even CP/M (the technical > predecessor of QDOS, the technical basis of MS-DOS [no, Thomas, this > note is NOT directed to you]) is younger than this C notion.
Maybe I should have said "DOS days _and_ yore" instead...but that sounds weird. Oh well. Point taken. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
