Welp, been working on this program off and on for about a week now and still getting errors...
void Population::setName(string zor)
{
strcpy(name, zor);
}
here's were my main problem is... I have a class "Population" in which I declare a private variable called "name" of the string type... welp to this method setName I send another string... I want to copy what i send to the setName method from zor into name... i figured this strcpy would work but apparently it doesnt.
and yes i have to use strings =/ teacher's orders... i probably wouldnt be able to do this with char arrays anyways been coding for several hours straight.. hopefully one of yall has a suggestion
