[prog] C++ STL at() function

ed orphan millward at Ms.UManitoba.CA
Sun May 11 20:52:54 EST 2003


Your right. The program works with
Red Hat 8.0 kernel 2.4.18-14 gcc 3.2
but not with
Red Hat 7.3 kernel 2.4.18-3  gcc 2.96
That is, gcc 2.96 doesn't seem to have at()
working with vector but does work with string.
I ran the program  sexcept.cpp from
Tom Swan's GNU C++ for Linux page 515
and it works just fine. It uses at() for a string.
  Thanks for your reply


  




More information about the Programming mailing list