i completed the code in the second post.
static const int data[instruction] ={status_1 : 32,
status_2 : 192,
status_3 : 35
};
Type: Posts; User: debugg
i completed the code in the second post.
static const int data[instruction] ={status_1 : 32,
status_2 : 192,
status_3 : 35
};
Sorry i missed one part in it.. Here is the complete code:
typedef enum {
status_1 = 'h12,
status_2 = 'h14,
status_3 = 'h15
} instruction;
static const int data[instruction] ={status_1 :...
Hi all,
I am trying to do the following in C++
static const int data[code]={status_1 : 32,
status_2 : 192,
status_3 : 35
};