typedef CList ListInfo,ListInfo& List_Array是什么意思typedef struct LISTINFO{//int num//the num
typedef CList <ListInfo,ListInfo&> List_Array;是什么意思
typedef struct LISTINFO{
//int num;//the number
int P_S_num;//standard value
int V_num;//voletage value
}ListInfo;
typedef CList <ListInfo,ListInfo&> List_Array;
[解决办法]
把CList <ListInfo,ListInfo&> typedef成 List_Array,方面以后的定义
// CList is a template class that takes two template arguments.
// The first argument is type stored internally by the list, the
// second argument is the type used in the arguments for the
// CList methods.
[解决办法]
- C/C++ code
typedef CList <ListInfo,ListInfo&> List_Array;/*假设A代表CList <ListInfo,ListInfo&> B代表List_Array这句话的意思是给A取一个绰号叫做B*/
