Search:

Type: Posts; User: manasij7479

Search: Search took 0.12 seconds.

  1. Then ..would std::stack be a better way to...

    Then ..would std::stack be a better way to implement stacks ?..the name seems to suggests so...and does it behave identically to std::vector ?
  2. Error while passing a reference of a vector to a function.

    First of all , I can't understand the error message.

    error: invalid initialization of non-const
    reference of type ‘stack&’ from a temporary of
    type ‘std::vector<sub, std::allocator<sub> >
    ...
Results 1 to 2 of 2