Hi all,
I'm having a bit of trouble checking that my program is working properly. I have defined a list of objects in an object array called "LineArray". One of the data members of these objects is an array to hold sets of random numbers called "m_XYCoOrds". What I want to do is to check that each object has different numbers in their own arrays.

In the view.cpp file the OnDraw function looks like this:

void CLinesView::OnDraw(CDC* pDC)
{
CLinesDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
// TODO: add draw code for native data here


pDC->TextOut(60,60,pDoc->LineArray[1].m_XYCoOrds[0][1]);
pDC->TextOut(60,80,pDoc->LineArray[1].m_XYCoOrds[0][2]);


}

All that it ever gives me is the value I(1?) I do know that the co-ordinates are different because it can draw a line quite nicely. I think that i'm probably just using the wrong function to display the text. Any help would be greatly appreciated.
Cheers
Dylan