• array of union vs union of array
    Hello I am looking for help in understanding the difference between following 2 declarations: 1. union u2 { unsigned int urow2; struct s2 { unsigned int p32 : 1; unsigned int p31 : 1;...
  • Array of string
    I use a AT89S52 and programming with KEIL C51.How can I implement a look-up table for string ? My array example : array[0] = "ABC" array[1] = "Hello" array[2] = "Good morning" array[3] = "Good...
  • array pb
    a Assembly file dis_buffer: DS (%END_ACQ_CHAP+1)*1024+(3*1024) ;[1][1024] a C file extern unsigned char xdata dis_buffer[8][1024]; . . . dis_buffer[15][(5 * 15) + k] = (dis_buffer[15][k] & mask[...
  • array to array
    for example i have got three constant array code unsigned char a_0[]={0x54,0x25,0x11,0xff,0x21}; code unsigned char a_1[]={0x51,0x45,0x55,0x85}; code unsigned char a_2[]={0x24,0x47}; in program...
  • butting two arrays
    I have a project where data is received to array a, reformatted to array b, then reformatted to array c. The arrays are different sizes. The process is relevant as different parts of array b are reformatted...