Reputation: 327
i have got errors on visual studio 2010. i m using c++ and use opencv
Error C2039: 'exit' : is not a member of '`global namespace'' error C2873: 'exit' : symbol cannot be used in a using-declaration
Upvotes: 0
Views: 623
Reputation: 72519
You should
#include <stdlib.h>
before using ::exit().
::exit()
Upvotes: 2