You could use std::map with key -> primary key, value instance of your student class, but for good use some kind of database which will handle it for you.
2
solved How do I restrict users from entering redundant data in C++ program? [closed]
You could use std::map with key -> primary key, value instance of your student class, but for good use some kind of database which will handle it for you.
2
solved How do I restrict users from entering redundant data in C++ program? [closed]