Array Classes  
Author Message
shades921





PostPosted: Visual C++ General, Array Classes Top

Hi. I was wondering if Visual C++ 6.0 had support for a 2-D Array class. I've found a 1-D class that I could use, but I think a 2-D class would better suit my application. My problem is I have a connection box I want to model. It had 4 columns and 10 rows. Depending on which setup of connection box, 24 of those 40 possible connections will be active. But the kicker is that if a column is active, all rows in it are active, or if the row is active, all cloumns are active. I think it would be easier if I could address each pin by it's row and column address. All the array will hold would be int values. those values would determine the connection type. not-used, used&good, or used& bad.

From those 3 choices a loop would run to "draw" the box with white circles for not used, green for used&good, and red for used&bad.

any help


Visual C++10  
 
 
Jonathan Caves - MSFT





PostPosted: Visual C++ General, Array Classes Top

Visual C++ 6.0 is no longer supported.

Having said that a quick search on the internet shows a lot of potential candidates though a lot of them appear to use templates so they might not work that well with Visual C++ 6.0.



 
 
shades921





PostPosted: Visual C++ General, Array Classes Top

I think i may have found a way to use the array class to my advantage....but any other help would be appreciated!