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

Search:

Type: Posts; User: wolle

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    526

    Re: Calling on an element of a matrix class

    That's a nice solution and it allows for [][] accesses. It compiles with the latest VS 2017 compiler, can't you upgrade?

    If not, your current matrix class approach will work with an older...
  2. Replies
    5
    Views
    526

    Re: Calling on an element of a matrix class

    Since the matrix class represents no abstraction why not access the m member, like


    sum += (gauss.m[x + 2][y + 2] = exp(-(x * x + y * y) / s) / s / M_PI);
Results 1 to 2 of 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)