Another nice thing about vectors is they do bounds checking for you, so you can avoid accidental overflows (and intentional overflows by people you don't want intentionally overflowing), also why it's good to use STL strings instead of char arrays.
__________________
"Prohibition will work great injury to the cause of temperance. It is a species of intemperance within itself, for it goes beyond the bounds of reason in that it attempts to control a man's appetite by legislation, and makes a crime out of things that are not crimes. A Prohibition law strikes a blow at the very principles upon which our government was founded." --Abraham Lincoln
Last edited by n0nsensical; 03-17-2005 at 11:41 PM..
|