Dear All,
I've a problem using a global struct.
Is possible to use it in Qt?
I've tried to declare it in a global.h file a struct
such as :
Qt Code:
  1. extern struct _Stxy1000{
  2. double dY[];
  3. double dX[];
  4. }
To copy to clipboard, switch view to plain text mode 
then i've put in a global.cpp file
Qt Code:
  1. struct _Stxy1000{
  2. double dY[1000];
  3. double dX[1000];
  4. }_stxy1000;
To copy to clipboard, switch view to plain text mode 
when i try i acces to the struct member the compiler rise up some errors such as, the struct is not declared, even if i include the global.h in a proper way.
Thanks in advance