CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: laserlight

Search: Search took 0.53 seconds.

  1. Replies
    16
    Views
    4,178

    Re: Passing an STL array by reference - help

    I suppose you could try swapping with an empty vector, but it may or may not make a difference:

    std::vector<std::vector<std::string> >().swap(vI2Matrix);
  2. Replies
    16
    Views
    4,178

    Re: Passing an STL array by reference - help

    Perhaps you should check that the forward declaration of your read_files function matches the definition. If you can find no problem with that then post the smallest and simplest program that...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured