请问如何把vector of class save into files ?
我知道不能把entire vector直接save进去,所以一直在尝试one by one,可是一直error

PS: 我找google 和书本很久了但还是找不到,所以想请问大家有什么方法?