[CentOS] top and allocation issues
m.roth at 5-cent.us
m.roth at 5-cent.usThu Mar 3 19:34:13 UTC 2011
- Previous message: [CentOS] top and allocation issues
- Next message: [CentOS] top and allocation issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [CentOS] top and allocation issues
- Next message: [CentOS] top and allocation issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list