On Tue, 2007-05-22 at 15:54 -0600, Stuart Jansen wrote: > On Tue, 2007-05-22 at 14:45 -0700, Bryan Murdock wrote: > > Right, or you could use a vector of vectors and not have to worry > > about the manual allocation and deallocation. It's still awkward to > > build up the multi-dimensional vector, but the cleanup is much nicer, > > and you can still use the multi-dimensional array syntax to access > > stuff. > > I'm torn. Real men code in C. But smart men use other people's carefully > designed and thoroughly debugged data structures.
http://developer.gnome.org/doc/API/2.0/glib/glib-Arrays.html Not quite as clean as STL makes it. But if you're going to use C, consider glib the extended standard library. I'll never code without it again. > > /me disappears in a puff of logic > > -------------------- > BYU Unix Users Group > http://uug.byu.edu/ > > The opinions expressed in this message are the responsibility of their > author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. > ___________________________________________________________________ > List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
