fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct data {
  5. float pos[3];
  6. float orient[3];
  7. float vel[3];
  8. double any_data_from_ass[1024];
  9. };
  10.  
  11. int main()
  12. {
  13. cout << sizeof(data) / 1024. / 1024. << " mb" << endl;
  14.  
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
0.00785065 mb