MikkelFJ wrote:
> "Marco K?gler" <marco.koegler / web.de> wrote in message
> news:3DA3E640.4090903 / web.de...
> 
>>#define eof _eof
>>
>>Now, the problem I have with this is, that my code uses the STL
>>stringstream ... which coincidentally has an eof() member function. Now,
>>I just went ahead and did something like this (without IMPORT and NT=1):
> 
> That's why STL uses the std:: namespace.
> 
> I recommend the practive of never have a using namespace std in the code.
> Instead typedef the types you are using. For example:
> 
> #include <vector>
> typedef int_vector_t std::vector<int>;

Thank you very much for the lecture on how to use the STL, but you don't 
seem to understand the problem. When I type this:

std::stringstream s(someString);

while (!s.eof())
{
}

The preprocessor turns it into:

std::stringstream s(someString);

// note the underscore!!
while (!s._eof())
{
}

No namespace will save you from that!

-Marco