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

Search:

Type: Posts; User: laserlight

Search: Search took 0.16 seconds.

  1. Replies
    10
    Views
    11,238

    Re: Multi-dimensional vector ?

    That's basically a version of a std::vector<std::vector<int>>, except that you are doing manual memory management, but avoid the space wastage due to each inner vector storing its own size and...
  2. Replies
    10
    Views
    11,238

    Re: Multi-dimensional vector ?

    Yes, though with respect to C99 I would call it part of the language rather than an extension.


    Yes. There is a very direct way:

    void MakeConnections(int x, int y)
    {
    ...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured