|
CActiveProcess* one = new CActiveProcess;
Will this be wrong? If it’s really wrong... (don’t understand)
According to the definition in the book:
Type name * pointer variable name = new type name (if there is a constructor with parameters, assign initial values to the parameters)
//If it is not in (), do not write, the compiler will automatically call the default constructor
new CActiveProcess(char *sname1,char *sname2,char *sname3,
char *sname4,char *sname5,char *sname6,char *rname1,
char *rname2,char *rname3,char*help,float*ture, float*error,__int32 *finger);
//Of course it’s not possible to write this way, because variables like *sname2 are waiting for us to assign values, so let me change it casually:
//CActiveProcess* one=new CActiveProcess(a,b,c,d,e,f,g,h,i,help,ture, false,1);
//Probably that's it |
|