Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. iggyentity

    help overloading []

    When i overload the operator [] for a vector is there any better way of using it inside the class definition itself ie. Class Dataset ...... int& operator[](int x){ return vector[x]; } bool compare(int position, int variable){ return operator[](position)==variable // is there any...
  2. iggyentity

    how to use insert command for vectors

    This is pretty basic but how do you use insert() for vectors, i want to place an int x ant position i. i.e. insert(i,x), but it won't compile stating that no such defn for insert exists.

Part and Inventory Search

Back
Top