>>the program have trouble when "list member by name"
On my system, the program has trouble even compiling.
Code:
Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000 Borland
E:\junk1.cpp:
Error E2015 junk1.cpp 14: Ambiguity between 'string' and 'std::string'
Error E2015 junk1.cpp 34: Ambiguity between 'string' and 'std::string' in function main()
Error E2451 junk1.cpp 328: Undefined symbol 'i' in function RemoveMember(Member *,int &)
Error E2285 junk1.cpp 328: Could not find a match for 'strcpy(undefined,char *)' in function RemoveMember(Member *,int &)
*** 4 errors in Compile ***
I'll have a look and post again soon.