So if that is suppose to be in the if statement, what goes in the body to display it back?

Code:
cout << iter.getCdName() << endl;
?