Im doing a database in c++ for my A-S level coursework and need help trying to do some classes in it. Any help or suggestions at all would be helpful.
1) I need to create a class that inputs 2 numbers and 2 letters then returns them as an ID for example AR01. If anyone can suggest how i can create a function that can return this or knows a better way, it would be great thanks.
2) Also i need help trying to work out how to sort the data inputted to then be able to make a binary search algorithm for it. I dont expect anyone to write it for me but to givew me a shove in the right direction.