error: no match for operator >>

the code: https://i.imgur.com/bPwl3US.png

the error occurs at line 30

thanks for any help!
The key array contains pointer to strings. The stream does not know what to do with this pointer. Since the pointer seems not to make any sense remove the * when defining the key array.
Registered users can post here. Sign in or register to post.