: I was just wondering what was the standard way of denoting that a variable is of type std::vector. I currently use the prefix "lst" (as in "list"), like so:
: using namesapce std;
: vector<int> lstMyInts;
: Any thoughts guys?
Well... I don't like hungarian notation (it's useful on weak typed langages, though) but I wouldn't use a "lst" prefix. A vector is not a list (there is already a list type in the STL), a vector is a vector.
I would use a "vec" prefix.
Homero C. de Almeida
There's no dishonour in failure. For we aren't allowed to know wheter we'll achieve success or not. There is only one final shame, the cowardice of not trying.