win linux异常的区别

  #include
#include
#ifndef __linux__
                throw std::exception("Please  the authorization lock to open exception");      
#else
                std::logic_error ex("Please   the authorization lock to open exception");
                throw std::exception(ex);
#endif

你可能感兴趣的:(linux,c++)