> You need to declare the namespace you're using, either explicitly for the > point where it's required, or implicitly for the whole source: To declare it globally, put "using namespace std;" somewhere near the top. HTH, Bernard. -- Bernard Blackham bernard at blackham dot com dot au