help please with this code, the compiler refuses the assignment, while i tried out to change it but hopless.....thanks in advance
Code://............stuff
vehicle::vehicle(char n[10]){ // defenition of constructor
this->name=n;
cout<<"new vehicle was created its name is "<<endl;
cout<<(this->name);
return;
};