其中EngTDT是我程序名字
出现错误的函数如下:刚开始调用就出现这个错误
void CTrackBasedDetec::TrackDetection()
{
    CEngDetection m_Dec;
    CDetection m_Detection;
    map<CString,float> AllStoryDF[15864]
    map<CString,float> StoryTFIDF;
    
    StaWordsTFIDF(AllStoryDF/*,AllStoryTFIDF*/);
    for (int StoryID=1; StoryID<15864;StoryID++)
    {
         StoryTFIDF=GetStoryTFIDF(StoryID);
int WordNumber=StaNewWords(StoryID,AllStoryDF);
if (WordNumber>NewWordsNumber)
{
             ClusterNumber++;
    m_Dec.WriteResult(StoryID,ClusterNumber);
    StaCentroid(ClusterNumber,StoryID,StoryTFIDF);
 }
else
{
             float HighestSim=0.0;
    int SimCluster=0;
    for (int i=1;i<ClusterNumber+1;i++)
    {//计算相似度,找出最大值
float sim=m_Detection.Sim(ClusterCentroid[i],StoryTFIDF);
if (sim>=HighestSim)
{
    SimCluster=i;
    HighestSim=sim;
}
     }
     if (HighestSim>Threshold)                  m_Dec.WriteResult(StoryID,SimCluster);
     else
     {//新成立一组
ClusterNumber++;
         m_Dec.WriteResult(StoryID,ClusterNumber);
         StaCentroid(ClusterNumber,StoryID,StoryTFIDF);//统计中心向量
      }
}
    }
}