I did figure it out, to make a long story short, I wasn't linking some files correctly and that's what that error was regarding.
Anyway, I've gotten a bit further and I'm trying to compare the name a user types in to the name in my array. Here's the code segment:******************************
cout << "Please enter your name exactly as it appears on the shareholder list." << endl;
cout << "Or, you may type Q to quit." << endl;
cin >> fname;
if ((fname[0]="q")&&(fname[1]=" ")&&(fname[2]=" "))
{
return 0;
}
cin >> lname;
cin.ignore(256, '\n');
for (r=0; r<ROW_MAX; r++)
{
if ( strcmp( fname, list[r]) == 0 )
{
for (c=0; c<COL_MAX; c++)
{ if ( strcmp( lname, list[c]) == 0 )
cout << fname << " " << lname << " may attend";
else
cout << fname << " " << lname << " may NOT attend";
}
}
else
cout << fname << " " << lname << " may NOT attend";
}
**********************************************************************
Now, when I attempt to compile, I get:
131p3.cpp: In function `int main()':
131p3.cpp:54: warning: assignment to `char' from `char *' lacks a cast
131p3.cpp:54: warning: assignment to `char' from `char *' lacks a cast
131p3.cpp:54: warning: assignment to `char' from `char *' lacks a cast
131p3.cpp:65: cannot convert `fname' from type `string' to type `const char *'
131p3.cpp:69: cannot convert `lname' from type `string' to type `const char *'
<sigh> Seems yet again, I've done something wrong - looks to be in my comparision of the strings. How can I fix this?
Thanks everyone!
