VC 中使用 vector<struct Empoyee> Var定义 struct Employee
出现错误:
C2926: types with no linkage cannot be used to be arguments
错误原因是:定义 struct Employee时 必须 在 main()函数 之外。
posted on 2010-11-16 15:54 cy163 阅读(502) 评论(0) 编辑 收藏 举报