AnsweredAssumed Answered

Struct define in PE

Question asked by Daniel Chai on Aug 5, 2013
Latest reply on Aug 5, 2013 by Fiona Kuang

Hi,

I used PEs generate a test project. Then I define a structure in ProcessorExpert.c

typedef struct {

    int a;

    int b;

}Test;

 

Then in main, I use " Test test_data;" to define it, but when I compile it, it shows:

"

Test  test_data; 

>expression syntax error

"

Any ideas about this?

 

Thanks.

 

-Daniel

Outcomes