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

asked 2014-11-21 14:10:32 -0600

almatrah gravatar image

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

edit retag flag offensive close merge delete