slinga
Established Member
Why doesn't this code work...
I wanna display characters from the array. It doesn't work.
If I replace grid[temp] in slPrint with "AB" or something like that, it works....What happens now is that it displays blanks characters.
void makeGrid()
{
char grid[15];
Uint32 temp = 0;
do{
grid[temp] = "X";
slPrint(grid[temp],slLocate(temp+1, 2));
temp++;
}while(temp<15);
}
I wanna display characters from the array. It doesn't work.
If I replace grid[temp] in slPrint with "AB" or something like that, it works....What happens now is that it displays blanks characters.