void CEditDialog::HandleRoutine()
{
   CEdit *pmyEdit;
   pmyEdit = &m_MainEdit;
  

   int  nLineCount = pmyEdit->GetLineCount();   CString  strText, strLine;   // Dump every line of text of the edit control.
   for (int i=0; i < nLineCount; i++)
   {
  pmyEdit->GetLine(i, 
  strText.GetBuffer(pmyEdit->LineLength(i)));   char *tokenPtr;
  tokenPtr = strtok(strText.GetBuffer(pmyEdit->LineLength(i)),
  " ");   while(tokenPtr != NULL )
  {
   CNCCode routine(strText.GetBuffer(pmyEdit-  >LineLength(i)),nLineCount);//我自建的一个类
  tokenPtr = strtok( NULL, " ");
  }
   }
}