Use a tool called GLFont under ortho view you can output text like
glFontBegin(&font);
glScalef(8.0, 8.0, 8.0);
glTranslatef(30, 30, 0);
glFontTextOut("Test", 5, 5, 0);
glFontEnd();
glFlush();
you can find it here http://students.cs.byu.edu/~bfish/glfontdl.php
i remember there is function under opengl who can put text on screen too.
Check this:
http://www.opengl.org/resources/features/fontsurvey/
for int --> string, you can use
int num = 234;
string data;
stringstream ss;
ss << num;
data=ss.str();