I need to save Error and Warning messages to access them in Notification and Mail.
I did define them as single char Arrays now but for easier access I'd like to put them into ONE multidimensional array.
But my mind gets pretty messed up when trying to think about how they would be saved when they got more than 2 dimensions.
I like to have the following:
- The string consisting of chars
- A reference if its a warn or an error message
- Which of the Warn or error messages
So there are 2 Types of Message and 5 Messages each
For what I think it should look like:
Is this correct?
If so, how would the initialisation of this work (given fixed messages)?
I know how to define 2 dimensional Arrays but how about this?
Or am I thinking the wrong way and wasting much program space?