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

Search:

Type: Posts; User: jefe9

Search: Search took 0.03 seconds.

  1. Replies
    16
    Views
    4,191

    Re: Passing an STL array by reference - help

    You have just re-created how I discovered the deallocation problem.

    The strings in my program are initialised with zero lenth strings. Data are assigned to each individual element, for each of the...
  2. Replies
    16
    Views
    4,191

    Re: Passing an STL array by reference - help

    A reasonable point Paul, thank you.

    Although the Matrix is allocated in less than 13 seconds; I am surprised why there is such an imbalance between creation of the matrix, assigning all the 5...
  3. Replies
    16
    Views
    4,191

    Re: Passing an STL array by reference - help

    The compiler is the MS VS-2010 express version;

    The number of rows is slightly over 1million = 1,118,135 rows
    The number of columns is 5

    The release non-debug optimised build does see a...
  4. Replies
    16
    Views
    4,191

    Re: Passing an STL array by reference - help

    Maestro, thanks, the forward reference was the culprit there!

    as an aside, I erase that matrix when I have finished with it, and it is taking a real long time ... 600 seconds !

    ...
  5. Replies
    16
    Views
    4,191

    Passing an STL array by reference - help

    how can I pass a matrix as a reference parameter?
    I am using the following declarations:


    typedef std::vector< std::vector<std::string> > ss_matrix_t;


    I declare the matrix with the...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured