hello sir,
actually what i want to do is to print a series of characters using outtextxy() function in c++ graphics.
say my array contains '1','2','3','4','5'.
using a for loop i want to print them at diff positions on screen.
char c[]={'1','2','3','4','5'}
int i,j=100
for(i=0;i<5;i++)
{
outtextxy(100,j,c);
j+=100;
}
but this prints all the characters at all the places.
like
12345
12345
12345
12345
12345
12345
but what i want is
1
2
3
4
5.
please help me out .
Thanks