Untitled
By: a guest | Aug 9th, 2010 | Syntax:
C++ | Size: 0.18 KB | Hits: 43 | Expires: Never
class IntList
{
private:
int m_anList[10];
public:
int& operator[] (const int nIndex);
};
int& IntList::operator[] (const int nIndex)
{
return m_anList[nIndex];
}