Text File Binary Search
I have a test file that looks like this: Ampersand Gregorina 5465874526370945 Anderson Bob 4235838387422002 Anderson Petunia 4235473838457294 Aphid Bumbellina 8392489357392473 Armstrong-Jones Mike 8238742438632892 And code that looks like this: #include <iostream> #include <string> #include <fstream> class CardSearch { protected: std::ifstream cardNumbers; public: CardSearch(std::string fileName) { cardNumbers.open(fileName, std::ios::in); if (!cardNumbers.is_open()) { std::cout << "Unable to open: " << fileName; } return; } std::string Find(std::string lastName, std::string firstName) { //