#define LEN 32 char string1 [LEN]; memset (string1,0,LEN); strcpy (string1,"This is a example!!"); |
const char string2[LEN] ="This is a example!"; char * cp; cp = string2 ; |
#define bwMCDR2_ADDRESS 4 #define bsMCDR2_ADDRESS 17 int BIT_MASK(int __bf) { return ((1U << (bw ## __bf)) - 1)<< (bs ## __bf); } void SET_BITS(int __dst, int __bf, int __val) { __dst = ((__dst) & ~(BIT_MASK(__bf))) | |
|||
| 共5页: 上一页 1 [2] [3] [4] [5] 下一页 | |||
![]() |