Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

quotation marks surrounding string during writing to file with FileStorage in Qt

Hi Everybody My problem are quotation marks during writing to file. The code is

cv::FileStorage fs(outputname.toStdString(), cv::FileStorage::WRITE); … std::string str=“test”; fs << str.c_str(); …

In file I got “test”, but what I want is just test without quotations marks. Can anybody give me a hand?

best regards