samedi 28 mars 2015

Convert double and vertex handle into a string in c++

I want to convert a vertex handle(vit) and double value to string and write it into a file.I thought this works.



string buffer = vit->point() + " " +z_co[vit->id] +"\n";


z_co:is a vector.(double) But,it is throwing error.So,How could I do this?


Aucun commentaire:

Enregistrer un commentaire