Michael D. Berger wrote:
> In a context where exceptions are caught, I ran
> the fragment:
>
>    cerr << "allocating" << endl;
>    char*    arr[100];
>    for (int jj = 0; jj < 10; ++jj)
>    {
<snip>
> Wherein do I err?

It would have been caught on 0 if that was jj++, *not* ++jj (increment
*after* the loop, not before).

         mark

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to