I can't make up my mind on wich would be the best one. I am learning teaching by myself so I don't have anyone to ask exept you (thank God there is good people on the net).
I am planning to translate a project I did in C in C++ using C++ powerful devices.
The programm helps managing a list of invited people (users) and manage their confirmation and stuff, so in C I had used a dynamic allocated list of structs. The programm also saved the data onto a file so as not to loose them every run.
Now i thought that in C++ it would be easier to use classes in place of structs, and now I am wondering how to organize the User Objects.
Vector or List (or Deque)?
My main needs will be:
1) Add new user
2) View users' list
3) Modify user, therefore also being able to search for it (for long lists)
4) Count confirmations
5) Order them (may be usefull confirmation or name order)
The list is probably gonna have a size of 50-300 users. I was afraid that the list way would have been stupid for accessing the users (i know 200 is nothing to moder PCs, but theoretically speaking...) while vector was probably better for acces due to its .
On the other hand list manage the data better on the ordering stuff, doesn't it?
What do you advice?