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::app);
function(new function_y(
[file](int a, int b)
{
file << a << b;
});
Aucun commentaire:
Enregistrer un commentaire