please help me convert it in C++ language
help me its urgent
Code:
r->next=(class polynomial *)malloc(sizeof(class polynomial));
help me its urgent
r->next=(class polynomial *)malloc(sizeof(class polynomial));
void *buffer = malloc(sizeof(polynomial)); r->next = new(buffer) polynomial; // Destruction - call destructor directly r->next->~polynomial();
Comment