Advertisement
JoshDreamland

Parser_Progress

Mar 9th, 2012
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.04 KB | None | 0 0
  1. //====== INPUT =============================================
  2.  
  3. const int a = 10 + 20 + 30, b, c = 5;
  4. double d, e, f = 10;
  5. namespace justdefineit {
  6.   long unsigned g;
  7.   long unsigned int h;
  8.   long unsigned long k;
  9. }
  10. long double i;
  11. class koalacub {
  12.   int leavesEaten;
  13.   int chutesEaten;
  14. };
  15. class koala: koalacub {
  16.   koalacub *children[10]; // A koala can have at most ten children because of reasons.
  17. };
  18.  
  19. int *z_simple[10];
  20. unsigned long const int   (  *  zz_better )  [ 10+5+7+9 / 3 ] ;
  21. int* (*(*zzz_confusing)[10][12])[15];
  22.  
  23.  
  24. //====== OUTPUT ============================================
  25.  
  26. Parse finished in 995 microseconds.
  27. const int a;
  28. const int b;
  29. const int c;
  30. double d;
  31. double e;
  32. double f;
  33. long double i;
  34. namespace justdefineit {
  35.   unsigned long g;
  36.   unsigned long int h;
  37.   unsigned long long k;
  38. }
  39. class koala: private koalacub {
  40.   koalacub *children[10];
  41. }
  42. class koalacub {
  43.   int chutesEaten;
  44.   int leavesEaten;
  45. }
  46. int *z_simple[10];
  47. const unsigned long int (*zz_better)[25];
  48. int *(*(*zzz_confusing)[10][12])[15];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement