|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Why I don't use vector...
On Sat, 11 Mar 2000, Dan Loos wrote: > I used java.util.vector at one point for a class, and because I "used a > tank to plow a field" lost some points. > >> Let me send you my linked list header file. It's something I'm > >> proud of. > >Without commenting of the quality of your header, why not just use > >the appropriate STL class, such as Vector<>? Unless the class is specifically 'build a linked list', not using standard available libraries is bad. In the above (getting marked down for using j.u.vector), it could have been that a straight array would have completely sufficed; although I have never had teachers look so close at what data structures and algos I used. -- Marc Hernandez ================================================================= The GameProgrammer.Com mailing list is for the open discussion of any topic related to the art, science, and business of programming games. This list is especially tolerant of beginners. We were all beginners once To SUBSCRIBE or UNSUBSCRIBE please visit: http://gameprogrammer.com/mailinglist.html
|
|