Hi all,
i have a problem on program termination.
At the moment when main() ends my program creates a segmentation
fault.
#include <libmylib/myObject.h>
int main() {
using namespace Mylib;
MyObject1_t * aObject1 = 0;
MyObject2_t aObject2("someString");
aObject1 = new Object1_t(aObject2);
delete aObject1; // program still works
// cout or other still works here
return(0); // program creates an seg. fault
}
I know it's maybe tricky to say something to my problem due to missed
postings of Object1_t and Object2_t but I hope this is some beginner-
failure :)
Goran