Hi there guys, I need some assistance from an assignment I'm working on. I need to store the contents of my vectors into a text file, I've tried using other methods I've found online but I can't seem to get it to work and I suspect it is due to the fact that my vector stores more than one variable and is linked to a class.
the error that shows is : error: no match for 'operator<<' in 'menusav << menu(std::vector<food>((*(const std::vector<food>*)(& orderpizza))), std::basic_string<char>(((const char*)"Pizza"), (*(const std::allocator<char>*)(& std::allocator<char>()))))'|
Any help would be appreciated, and I will provide more info on my program if you need it. Thanks.