Hello again,
I wish to make a vector of class VItem, so that the vector can store both of the strings "word" and "pos" per space (or whatever the proper term for a vector slot is?)
Is such a thing possible? Or would this only work with structs?
I have attempted to create it as such, leading to errors saying (in main) that both vItems and word are private. Is there a way to make this work? If so, can it work while what is currently in private remains in private?
Thank you for your time