i am working for school project and i have to write some lines to a txt file. Nothing unusual but here comes the problem. When i try to input output file name through parameters in function it says that there is no matching function for call. Let me show you my code:
bool save(vector<City*> city, string output){
ofstream dat(output); // ... here comes the problem
}
I would be very happy if someone would know what is problem here and how to make it work. Thanks
that helped thanks :) – lucian24 Jun 13 '16 at 16:21