Commit 877cde77 authored by Kenneth Vanhoey's avatar Kenneth Vanhoey

binary import/export for SLF

parent 94844015
......@@ -810,8 +810,7 @@ bool MeshTablesSurface<PFP>::importPlySLFgenericBin(const std::string& filename,
fp.read((char*)&CHNum, sizeof(unsigned int)) ;
char* headerTab = new char[CHNum] ;
fp.read(headerTab, CHNum) ;
std::cout << headerTab[0] << std::endl ;
std::cout << fp.read(headerTab, CHNum) << std::endl ;
std::stringstream header(headerTab) ;
std::cout << std::string(headerTab) << std::endl ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment