|
// DataMatrix.h: interface for the CDataMatrix class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DATAMATRIX_H__B8D72671_BB05_4B3B_A727_C0EEBC62EEC7__INCLUDED_)
#define AFX_DATAMATRIX_H__B8D72671_BB05_4B3B_A727_C0EEBC62EEC7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDataMatrix
{
public:
int GetValue( int col, int row );
void UpdateValue( int col, int row, int newVal );
int GetNumberCols();
int GetNumberRows();
void PopulateMatrix( int cols, int rows );
CDataMatrix();
virtual ~CDataMatrix();
protected:
int **m_dataArray;
int m_numberCols;
int m_numberRows;
};
#endif // !defined(AFX_DATAMATRIX_H__B8D72671_BB05_4B3B_A727_C0EEBC62EEC7__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
In January 2005, David Cunningham and Chris Maunder created TheUltimateToolbox.com, a new group dedicated to the continued development, support and growth of Dundas Software’s award winning line of MFC, C++ and ActiveX control products.
Ultimate Grid for MFC, Ultimate Toolbox for MFC, and Ultimate TCP/IP have been stalwarts of C++/MFC development for a decade. Thousands of developers have used these products to speed their time to market, improve the quality of their finished products, and enhance the reliability and flexibility of their software.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.