从数据库record里读出值 3个字段类型依次是 int varchar datetime
赋值时:
char cc[255];
int n = record[0];
cc = record[1];
Datetiem dat = record[2];报错如下3个:
error C2440: '=' : cannot convert from 'char *' to 'int'error C2440: '=' : cannot convert from 'char *' to 'char [255]'error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'char *' (or there is no acceptable conversion)