I am trying to write a and b to file, it is not working and I am not sure what is my mistake here. (New to C++)
std::fstream file(file_path, std::fstream::ap