Seriously? You couldn't come up with this on your own?
string msg = (myLine == "Model: iPhone2,1")?"am developer":"no";
MessageBox.Show(msg);
I'll leave it to you to adjust for your framework of choice (since you didn't specify).
EDIT ===============
This is VERY basic stuff. You could have solved it by now if you weren't so busy seeing if anyone answered your question. How long have you been a programmer?
CString msg = (myLine == "Model: iPhone2,1")?"am developer":"no";
AfxMessageBox(msg);
I haven't done C++ in over 4 years, so if you need more help, you're on your own unless someone else sees fit to try to help you.