problem using namespace std

I am having a problem using namespace std. My code has been working fine for months. Then unexpectedly when I try to compile I get the following error:

Error 8 error C2059: syntax error : 'namespace'

When I double click on the error my editor indicates that there is a problem when I declare 'using namespace std' on the top of my files. Why is this happening? Do I need to go through hundreds of lines of my code and write std:: in front of all functions that are part of namespace. I don't see why this is not working. Please help.
You need to show us the code it complains about.

And the code near it.
The tutorial on this site uses "using namespace std;" in most of its examples so it is natural that beginners may learn this as a standard technique.
Topic archived. No new replies allowed.