hi everyone!<br>I wan to write somenthing on screen I use this c++ codes.here is begining:<br><br>vtkVectorText* vecText = vtkVectorText::New();<br> vecText->SetText("vtkVectorText");<br><br>I send input like "vtkvectortext" than it is work. but I want to write 1, 2, 3, like something integer. <br>
<br>if I write my variable directly ;i.e vecText->SetText(variable);<br><br>I get error like :<br>Error 2 error C2664: 'vtkVectorText::SetText' : cannot convert parameter "variable_value" from 'int' to 'const char *' <br>
<br>so How do I write my integer variable!!! <br><br>