I'm writing a program to create a simple database in C++.
This program compiles, but it doesn't print any data. I think the problem is in the input files, or the find_brigadier function. https://onlinegdb.com/WozUrHk6V
Lots of thanks to all who reed this. As I mentioned before, the problem was in the input files. It works correctly only if you write Name_Surname or NameSurname instead of Name Surname in the inpute files.