/Users/cn3588/Desktop/c++/test/main.cpp:304:0 /Users/cn3588/Desktop/c++/test/main.cpp:304: error: no matching function for call to 'std::basic_ifstream<char, std::char_traits<char> >::open(std::string&)'
提示这样的错误
解决办法
http://www.dreamincode.net/forums/topic/54722-try-to-use-a-dynamic-file-name/
例子
in_a.open(f_n1.c_str());
文章评论