标签:
#include <iostream> using namespace std; enum RespErrNo { SUCCESS = 0, INVALID_URL = 1, INVALID_SRC_ID = 2 }; RespErrNo fun(){ return INVALID_URL; } int main() { int a = fun();
RespErrNo b = fun(); cout << a << endl; return 0; }
标签:
原文地址:http://www.cnblogs.com/i80386/p/4486347.html