• GNU ARM and Constructors
    I'm using a LPC2129 and DKARM 1.3 I have something like this //class declaration class SPI { SPI(uint8 init)//contructor .... } //Contructor definition SPI::SPI(uint8 init) { ... } //Object...
  • Initialize C ++ object array in constructor?
    I am facing issues with initialization of an object array within the Constructor. I would like to initialize my array using i nitialization from brace-enclosed lists. But the armcc compiler for some reason...
  • scanf/printf argument restriction 15 bytes/40 bytes: checking?
    This follows up on msg: sprintf arg restriction of 2/6/04 Per the manual, "the total number of bytes passed to scanf() is limited..." I want to check this. Is this equivalent to the total number...
  • scanf/printf argument restriction 15 bytes/40 bytes: checking?
    This follows up on msg: sprintf arg restriction of 2/6/04 Per the manual, "the total number of bytes passed to scanf() is limited..." I want to check this. Is this equivalent to the total number...
  • Array as Argument
    I want to send control codes to a printer they look like this : unsigned char cntrl_codes[6] = { 0x0d, 0x14, 0x1b, 0x4c, 0x0d, 0x0d}; I have made a function to send this array to serial port ...