What part of this problem do you find troublesome? I assume it's string comparison, so I'll explain accordingly.
1. Read one line at a time into...
Okay, I understand its meant to be a bare bones sort of program, but still you should include a check for division by 0.
How about something related to Steganography?
If you are using C++, new throws bad_alloc exception if memory is not allocated.
I haven't used mint, though I've been using Ubuntu. I guess you have to explicitly tell the shell that you want to look for the executable inside...
Separate names with a comma.