Original Post
Hi, I just upgraded to MSVS 2003 from gcc. Whilst trying to implement HelloWorld with iostream I kept coming up against compiler errors: (caused by the inclusion of ) produced: c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\exception(55): error C2039: 'terminate' : is not a member of 'operator``global namespace''' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\exception(55): error C2873: 'terminate' : symbol cannot be used in a using-declaration My (rather unsatisfying) solution was to hack the "include\exception" file and remove the reference to using ::terminate; included as part of the definition of _USE_EX This works, but two questions: Has anyone else ever seen this problem and are there any better was to fix it? Regards, Stuart
#include <iostream>
using namespace std;
int main(void) {
cout << "Hello World!";
return 0;
}