2013-06-27 25 views

回答

0
std::ofstream f("C:/file_to_write_to.txt"); 

// writing element my_matrix[10, 10] to file. assuming it's a float. 
f << my_matrix.at<float>(10, 10) << std::endl; 
f.close(); 
相關問題