So im trying to call the ofstream constructor. When i call it with a string like "this" it works but with the string value command[1]
it gives me this error:
no matching function for call to `std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream(std::string&, const std::_Ios_Openmode&)'
i guess command[1] isnt the right type but i dont understand these damn error codes they are like hieroglyphics to me
std::ofstream is really a std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream then it is saying there is no overload for std::string&, const std::_Ios_Openmode&