Hi ,every user

   I have a urgent question here.
   When I used the vector in ns2 and declared like this:

       vector<string> vecstring;

   and the errors appear below:

   error: use of `vector' is ambiguous
   mobile/god.h:79: error:   first declared as `class vector' here
   /usr/include/c++/3.3.3/bits/stl_vector.h:185: error:   also declared as `
   template<class _Tp, class _Alloc> class std::vector' here

   I don't know why I can't use vector this way ? I declare this way outside
the ns2 and it works.
   Can any one help me quickly ?
   deeply thanks...

    -jack

Reply via email to