i am a musician and not a programmer. i assume this is completely obvious to you by now.
do listen to my music if you please. something to do while you read my long enquiry.
I am attempting my first c++ program to create a program for a midi control device..... a thing with real buttons
so i have midi and some parameters to assign to each knob and button. a parameter may have up to 127 strings... or values.
the final output is in xml. my program will generate this xml.
the program creates labels or strings for various thresholds withint the midi cc data.
i want to be able to determine whether the variable in question is discreet or continuous (128 values being considered continuous in this case.)
if the variable is discreet i need to break up the midi cc from 0 - 127 into the number of variables.
eg if there are 2 -
then the device should display 0 - 63 ON while the midi message is being sent
and then 64 - 127 the device should be off.
Another parameter may be wave form
in this instance there may be sin ,, square,, tri,,,
so midi 0 -43 =sin
44 - 86 square etc.
i need to have a array of these max and min values within the bracket... and the associated parameter with it.
My first question is..
How do i assign a string to a array?