Not suprising really. Why are using trying to use " using namespace std;" within a statement block anyway?