[ create a new paste ] login | about

Link: http://codepad.org/I313t7BN    [ raw code | fork ]

Maik_Beckmann - C++, pasted on Jun 26:
1
2
3
4
5
6
7
8
9
10
11
12
13
struct Vector {
  Vector() : x(0), y(0), z(0) { }  
  float x,y,z;
};

struct Foo { 
  int dummy; // commenting this out makes it run perfectly
  Vector array_of_vectors[4];
};

Foo foo;

int main() { }


Output:
No errors or program output.


Create a new paste based on this one


Comments: