Date: Mon, 30 Jun 1997 15:27:23 -0400 (EDT) From: Timothy Robb To: djgpp AT delorie DOT com Subject: operator[] question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk I want to create a class which I call matrix and want to access it like an array, I know how to implement as single array. ie matrix a(5); a[3] = 3;... But how do I do this matrix a(5,5); a[3][0] = 3; ... Thanks in advance, Timothy Robb