c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\cstdlib(22):
error C2039: 'exit' : is not a member of 'operator``global namespace'''
I've referenced that function since the beginning of my project almost a year ago and never had this trouble. What's going on?
exit craziness
So I change a parameter to one of my functions, recompile, and it spits out a bunch of errors. Every single place where I referenced the "exit" function, it gives this error:
I'd venture at a guess that something you changed is causing a syntax error -- something like an extra or missing or misplaced special character (curly bracket, semicolon, colon, parenthesis).
Check if you accidentally included any headers in a namespace. Like
That can cause problems like that.
namespace MyNamespace{#include <iostream>/...}
That can cause problems like that.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement