Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: MichaelMeissner

Search: Search took 0.01 seconds.

  1. Replies
    69
    Views
    17,215

    As I said earlier, that is a GNU C extension. ...

    As I said earlier, that is a GNU C extension. The GNU C++ compiler does not support it. When you use an .ino or .pde file, it is converted into C++ code. While much of C is a subset of C++, there...
  2. Replies
    69
    Views
    17,215

    As I understand the OP's question, he/she wanted...

    As I understand the OP's question, he/she wanted all 10 members of C to be set to 5. Your code would set C[0] to 5, and 0 to everything else.

    I don't think C++ supports a way to do that...
  3. Replies
    69
    Views
    17,215

    Just to clarify, the '##' concatenation operator...

    Just to clarify, the '##' concatenation operator (and the '#' stringize operator BTW) only work within #define expansions.
Results 1 to 3 of 3