In Visual C++ 6.0, I was able to see "ab" when I put array[0] into my watch window while running the code below:
Code:
int main()
{
const int MAX = 4;
char array[MAX][MAX];
array[0][0]='a';
array[0][1]='b';
array[0][2]='\0';
int checkWatchWindow = 3;
}
So it might be some other problem with your code. Maybe you should post more of it.
-------
M_Ghani, the watch window is something in the Visual C++ debugger which allows you to see tha value of a variable while the program is running. LiLgirL sounds like she (or he) is using it correctly, but there is some other problem.