you could wrap the supplied puttextxy function in your own code to provide this eg
Shrikshel_puttextxy(int x, int y, string format, ...)
{
string formatted_str = "";
puttextxy(x, y, formatted_str);
}
you'd then call your routine like :-
Shrikshel_puttextxy(5,10,"%d",150);
you'd need to read up on using variable length arguments 'varargs' using '...' but its not too hard