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

Search:

Type: Posts; User: lolller

Search: Search took 0.03 seconds.

  1. Re: Problem when passing reference to struct to function

    Ok thanks a lot for the input I restructured it to make it work with vectors, passing them by reference.

    I used G++, which allows for array to be declared with variables and thereby for the size...
  2. Re: Problem when passing reference to struct to function

    I have tried that, and I found that using pointers is considerably faster, when doing many iterations.
  3. Re: Problem when passing reference to struct to function

    Here is the func:

    And here is the calc inside it:

    Where:

    And I deallocate it like this:
  4. [RESOLVED] Problem when passing reference to struct to function

    Hi there I have a problem regarding passing references as an argument to a function.
    That I would really like to have an expert opinion on.

    So I have this double** that I pass to function called...
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured