• cast a char[] = "" value(s)
    hi Forum! I have declared an char-array, for a simple Data stream buffer of bits: char data[] = "101101010011111@". And now just want cast this items to a integer-value. How can i do this in...
  • cast a char[] = "" value(s)
    hi Forum! I have declared an char-array, for a simple Data stream buffer of bits: char data[] = "101101010011111@". And now just want cast this items to a integer-value. How can i do this in...
  • char value smaller than 0x00 comparison
    Hi, how is it possible to determine if a char value is smaller than 0x00? char value=0xFE; if((char)value < (char)0x00) printf("< 0\n"); Working with uvision mdk-arm I get always a warn...
  • char value smaller than 0x00 comparison
    Hi, how is it possible to determine if a char value is smaller than 0x00? char value=0xFE; if((char)value < (char)0x00) printf("< 0\n"); Working with uvision mdk-arm I get always a warn...
  • atoi and int value into unsigned char
    Can i store a int into a char if result is less than 255 ? or i need to store only the lower byte? unsigned char mychar[10]; unsigned int intvalue; intvalue = 1000; intvalue = 1000 - 950;//value...