Does anybody knows where I could find a programm in C,which could construct a buffer, with input and output floating numbers and then to be able to destroy the buffer?
if anybody has information about such a programm, I would be gratefull
Does anybody knows where I could find a programm in C,which could construct a buffer, with input and output floating numbers and then to be able to destroy the buffer?
if anybody has information about such a programm, I would be gratefull
A buffer with input and output? I think you mean you have a buffer which contains elements of type float or double. You want to create it dynamically and destroy it. Am I correct?
Declare a ptr to the buffer:
double *buffer;
Create the buffer:
buffer = malloc (buffersize);
Destroy the buffer:
free (buffer);