# include "stdafx. H"
# include 3 d - SCM. "h"
#include
#include
#include
using namespace std;
Using STD: : fstream;
Typedef CTypedPtrArray
The class C3DVecList: public C3DVecListBase
{
Public:
Void OutputToText (STD: : fstream & amp; Cout);
};
///////function definition
Void C3DVecList: : OutputToText (STD: : fstream & amp; Cout)
{
ASSERT_VALID (this);
Using STD: : endl;
Cout<" C3DPointList "& lt; & lt; SPACE<& lt; This<& lt; SPACE<& lt; M_nSize & lt; & lt; Endl;
for(int i=0; i
Cout<& lt; This - & gt; GetAt (I) & lt; & lt; Endl;
}
}
Can not find out where the problem is, please help
CodePudding user response:
Has been resolved, the problem is that using namespace STD. Using STD: : fstream; The two sentence statement after the standard header file instead of their own definition of header files, immediately after the hope can help meet the same problem peopleCodePudding user response: