struct NodeType
{
char name[MaxNameSize];
NodeType* next; // A pointer to the next person in line
};
void GetInLine(char new_person[]);
int main(void)
{
char X[MaxNameSize];
Q q1;
q1.GetInLine("Joe");
void Q::GetInLine(char new_person[]) // This function causes a person
// to get in line in the appropria spot.
{
NodeType* temp;
temp=new NodeType;
temp->name=new_person[];
temp->next=Front;
Front=temp;
}
my error in here is in a definition of GetInLine
139 C:\Documents and Settings\mauro\Desktop\ass4.cpp expected primary-expression before ']' token
What is that mean