im not elite with C++(this does not apply to my C knowledge) but on occasion I use the operator new instead of *alloc, and i stangely get Illegal Operations which can be better illistrated with a text example!
ok, i have a functioning class in it i allocate memory which is used through-out the program and deleted in the destructor. i use new being sure to allocate enough memory(eg. the exact size to be used), when i "delete" the memory or after the program exits i get an illegal operation, but heres the catch if i allocate a bunch more memory it doesn't happen! so you say "hes overwriting the memory and causing it not to delete properly" which is what i thought at first, then i checked it out and I wasn't so i replaced it with a call to malloc and released it with free with the exact code as with the new and it works!
so im i using new improperly or do i suffer a compiler implementation bug?