|
|
От: | gbush | |
| Дата: | 07.11.02 22:35 | ||
| Оценка: | |||
long nRowNum = m_dArRetX.size();
for(long i=0;i<nRowNum;i++)
{
char *bufX = new char[10];
char *bufY = new char[10];
char *bufStep = new char[10];
sprintf(bufY,"%f",m_dArRetY[i]);
m_pListCtrl->InsertItem(i,_T(bufY));
sprintf(bufX,"%f",m_dArRetX[i]);
m_pListCtrl->SetItemText(i,1,_T(bufX));
sprintf(bufStep,"%d",i);
m_pListCtrl->SetItemText(i,2,_T(bufStep));
delete []bufX;
delete []bufY;
delete []bufStep;
}