Search:

Type: Posts; User: kamoda_pawel

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    865

    Union vs. build in variables.

    I have a problem, I use a build in variable in code long int. A now that's to small so I want to change it to:



    typedef union{
    long int data[2];
    } longlong;


    but after that compailer...
  2. Variable number of arguments in function.

    How to start with my own formating function? I never wrote any with variable number of arguments. How to do it?

    In my case declaration looks like that:


    int dprintf(char *str, const char...
  3. Replies
    2
    Views
    6,048

    IAR does not support %0.2d formating.

    I know now that IAR does not support %0.2d formating. In Keil it makes "08" from "8". So I have to write my own format function. Thanks for reply.
  4. Replies
    2
    Views
    6,048

    printf formating!

    Hi all,

    I'm in the middle of type out an software from Keil compiler for '51 to IAR compiler for H8.
    The issue is that I found:



    unsigned char buffer[40];
    unsigned char variable1,...
  5. Point to struct as an argument or as local point?

    Hi Quazah,

    And what about stuff like that:


    Ex1.

    STR NewStr;
    .
    .
  6. How to work with structures in functions.

    Hi All,

    My question is how You guys prefer to call structure body from function (in embedded systems)?


    Ex1.

    STR NewStr;
    .
    .
Results 1 to 6 of 6