Skip to main content
ferhatyol-23
Senior
September 15, 2017
Question

2D Array in Struct

  • September 15, 2017
  • 1 reply
  • 509 views
Posted on September 15, 2017 at 14:57

Hello

I could not define a 2D array in a struct with Keil Compiler. How do you do that? Does anyone have information? 

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    September 15, 2017
    Posted on September 15, 2017 at 16:24

    So you're saying

    typedef struct _FOO {

    int twodee[3][3];

    } FOO;

    doesn't work? Or what?

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..