• What is used for struct __FILE { int handle; /* Add whatever you need here */ }; FILE __stdout; FILE __stdin; int fputc(int ch, FILE *f) { return (ITM_SendChar(ch)); }
    What is used for struct __FILE { int handle; /* Add whatever you need here */ }; FILE __stdout; FILE __stdin; int fputc(int ch, FILE *f) { return (ITM_SendChar(ch)); }
  • Data type question --- unsigned int variable
    I am using Uvision2. For some reasons I still see the negative value when declared a variable as unsigned interger -- According to the compiler, it supposes to be positive number from 0 - 65536. ...
  • array index type of signed int
    Hi list, i'm working with c51v750a. My problem: int array[ 0] _at_ 0x7600; //xdata unsigned char index = 0; //xdata printf("%d", &array[ index]); printf("%d", &array[(unsigned char)(index - 1)...
  • array index type of signed int
    Hi list, i'm working with c51v750a. My problem: int array[ 0] _at_ 0x7600; //xdata unsigned char index = 0; //xdata printf("%d", &array[ index]); printf("%d", &array[(unsigned char)(index - 1)...
  • Data type question --- unsigned int variable
    I am using Uvision2. For some reasons I still see the negative value when declared a variable as unsigned interger -- According to the compiler, it supposes to be positive number from 0 - 65536. ...