, , : tempMake new malloc, std:.
, struct . , , . . , , , , - . , , ? , , , ? , , ? .
, , . ++ , std::string. C a char ** ( x) :
int askMake(char** x)
{
char tempMake[100];
cout << "Enter Make:" << endl;
cin >> tempMake;
*x = new char[stringLen];
for(int i = 0; x && i < stringLen; i++)
{
(*x)[i] = tempMake[i];
}
if(x)
return 0;
else
return 1;
}