void Text::ReadTxt()
{
CString strFilePath;
strFilePath= strFilePath+ "\\Text.txt";
FILE *fp;
fp = fopen(strCurWorkPath,"r");
if (fp)
{
double dLon = 0.0;
double dLat = 0.0;
int ID = 0;
for (int j = 0; j < 310; j++)
{
if (feof(fp))
{
break;
}
fscanf(fp,"%lf%lf%d\r\n",&dLon,&dLat,&ID);
}
}
fclose(fp);
}
{
CString strFilePath;
strFilePath= strFilePath+ "\\Text.txt";
FILE *fp;
fp = fopen(strCurWorkPath,"r");
if (fp)
{
double dLon = 0.0;
double dLat = 0.0;
int ID = 0;
for (int j = 0; j < 310; j++)
{
if (feof(fp))
{
break;
}
fscanf(fp,"%lf%lf%d\r\n",&dLon,&dLat,&ID);
}
}
fclose(fp);
}