struct

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Carmen Sei

    struct

    I can represent struct like the following using

    { a, b }

    it's similar to list in PERL right?

    in perl I can do something like - ( a, b, c )

    ############### ###########

    typedef struct {
    Setup setupID;
    const char *setupString;
    } SetupCode;

    static const SetupCode g_SetupRecordTa ble[] = {
    {GRAPHIC_TEST, "graphic"},
    {KEYBOARD_TEST, "keyboard"} ,
    {MY_TEST, "mytest"}
    };
Working...