Originally Posted by
Prelude
>Sorry I had no clue that Salem had such experience, I just needed help.
No problem, but it's best to assume that the people trying to help you know what they're talking about unless you can prove otherwise. If they do know their stuff, all is well. If not, those of us that do know what we're talking about will call them on it.
>but I must input a name in that char array nevertheless
If you need to input a name into that array, then it shouldn't be const.
Thanks alot, I'm almost certain there is some fault with it being a constant .
Code:
void initialize(char[], int *);
void input(const char [], int &);
void print(const char *, const int);
void growOlder(const char [], int *);
bool comparePeople(const char*, const int *, const char *, const int *);
In the input function it is declared as a const [] and the other parameter refer to the integer.. Will check this a little more and if I still can't get it to work I'll drop by again. Thanks