I have an array that is stack allocated and used to hold error messages. In most cases i call a function that returns an error code and based on that code i know what to add to the array, so i use a simple array:I have an array that is stack allocated and use