fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct Block
  5. {
  6. int recordNum;
  7. int blockSize;
  8. int logLevel;
  9. bool alwaysRecalculate;
  10. char firstParentId[20+1];
  11. char lastParentId[20+1];
  12. char jobExecutionId[20+1];
  13. int statementLogCount;
  14. };
  15.  
  16. int main() {
  17. Block test;
  18. cout << "Size [" << sizeof(test) << "]" << endl;
  19. return 0;
  20. }
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
Size [80]