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

Search:

Type: Posts; User: henryswanson

Search: Search took 0.04 seconds.

  1. Replies
    10
    Views
    7,807

    Re: Array of pointers issue

    Yeah, it's because each of a function's parameters is a copy of what I pass to it, not the actual thing (unless it's passed by reference), so it's deleted when the function ends, right?
  2. Replies
    10
    Views
    7,807

    Re: Array of pointers issue

    Thanks everyone! jnmacd's solution fixed it up. Also, what are code tags?
  3. Replies
    10
    Views
    7,807

    Array of pointers issue

    I'm attempting to make a game of 3D chess, in which there are piece, board, and coordinates classes. In the board class, there is an [8][8][8] array of pointers to pieces. In the piece's constructor,...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured