EDIT: After a comment of Remy Lebeau, I was able to fix a part of my program. But now, I get this error:"error: could not convert 'siteName' from 'std::vector >' to 'std::__cxx11::string' {aka 'std::__cxx11::basic_string'}"
It's me ... again... I'm still working on that Account Manager and I encountered another problem. Whenever I try using the saveFunction()
saveFunction(ofstream& save, string site, string url, string username, string password)
{
save << site << endl;
save << url << endl;
save << username << endl;
save << password << endl;
}
that I've created to save the variables values in my text file, I get this odd error (title).
Which totally blocks me right now, because without it, once the program return main() is called everything that was wrote in the program just disappears and so the program is useless.
Here's my full code: https://pastebin.com/dFxjqXyE
#include <iostream> ...
Thanks to everyone who'll take of his time to help me.
-Ange-Emmanuel