SurvivorTiger
Programmer
Hi everyone,
I'm new to C++ .NET so this question might be a little too easy..maybe...
for(i=0; i<2; i++)
{
for(int j=0; j<3; j++)
Console::Write("{0} ", __box(arr[j]));
Console::WriteLine();
}
As you can see there are two for loops that are to print out different values of a 2D array names arr. What I don't understand is this part of the code "{0} ", ....if i eliminate that part, nothing happens and it displays the data just as it would with that section of the code.
Thanks in advance
AIM: survivertiger & Ye This Is Me
I'm new to C++ .NET so this question might be a little too easy..maybe...
for(i=0; i<2; i++)
{
for(int j=0; j<3; j++)
Console::Write("{0} ", __box(arr[j]));
Console::WriteLine();
}
As you can see there are two for loops that are to print out different values of a 2D array names arr. What I don't understand is this part of the code "{0} ", ....if i eliminate that part, nothing happens and it displays the data just as it would with that section of the code.
Thanks in advance
AIM: survivertiger & Ye This Is Me