您的位置:首页 > 其它

VC 中使用 vector<struct Empoyee> Var定义 struct Employee

2010-11-16 15:54 309 查看
VC 中使用 vector<struct Empoyee> Var定义 struct Employee

出现错误:

C2926: types with no linkage cannot be used to be arguments

错误原因是:定义 struct Employee时 必须 在 main()函数 之外。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐