Small C++ problem
- Hi All,
If you are not C++ programmer please ignore my mail.
I am extremely sorry for posting my problem in this forum. My problem is in
C++ program. But didn't get any reply from other C++ groups I have joined.
Trying my luck here. This simple program is eating my brains out.
private: int val;
myofNoUse = new ofNoUse*[nRows];
(cout<<"\nofNoUse Object Created").flush();
//Deleting ofNoUse Objects.
for ( int i=nRows-1; i=0; i-- ) // NOTE: Go Reverse.
(cout<<"\nIS myofNoUse deleted? ").flush();
That's it. Everything works fine while new'ing up the multidimensional array
dynamically. I can see constructor calls being printed.
But while deallocating destructor doesn't seems to be called at all. I
don't know where I am missing something.
I am not sure what blunder I am doing here.
[Non-text portions of this message have been removed]