How i can make the user enter the path of the xml file to be saved?
I want the user to enter something like "c:\test.xml" and the xml file is generated by that name and location.
I tried
string PathName;
cin >> PathName;
XMLDocument doc;
doc.SaveFile(PathName);
but it gives me the error
no instance of overloaded function matches the argument list
I know its such a simple question but somehow I am stuck, sorry