Common CodeWarrior error messages

Those error messages that compilers print can be pretty confusing at times. This page describes a selection of common errors and how to fix them. I'll add more as I see more confusing messages.

function has no prototype
Perhaps you're missing the using namespace std; line? (This message means that CodeWarrior doesn't think the function exists.)
undefined identifier 'cout'
Perhaps you're missing the using namespace std; line? Or perhaps you're missing the #include <iostream> line. (This message means that CodeWarrior doesn't think cout is available.