Original Post
I got a function which builds a massive buffer of data in an array. I just cant seem to get this array out of the function like either; void function(float *data) { data = new float[lots]; for(i) { data = something } } or float *function() { data = new float[lots]; for(i) { data = something } return data; } the data is never filled outside/after the function, know what i mean? any suggestions much appreciated cheers