I want a name displayed when the letters beside it is entered from the keyboard
eg when "ABC" is entered, Abraham is retrieved from .txt file
when "CME" is entered, Camille is retrieved from .txt file
A sample of the text file is below:
CODE NAME
ABC Abraham
CME Camille
JUN Junior
in my header file I have
class person
{
public:
private:
char code[3];
char name[21];
};
Thanks
Princequarles.