|
|
error C2440: '=' : cannot convert from 'const char [7]' to 'char [20]' |
#include <cstring> lexus.tireinfo.material = "rubber"; into this -> strcpy(lexus.tireinfo.material,"rubber");#include <string> char material[20]; into this -> std::string material;