Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

22
  • 1
    there is another problem here. You can't declare arrays of size zero. But this is not the question. Commented Feb 22, 2016 at 22:13
  • 1
    @River - int const con;, does it not? Commented Feb 22, 2016 at 22:13
  • 1
    Actually con is uninitialised, resulting in UB. Even worse, it cannot get a value assigned. stat is not. Commented Feb 22, 2016 at 22:26
  • 1
    @River - Oh jeez, brain fart. Fixed. Commented Feb 22, 2016 at 22:29
  • 1
    @Michi: Because he fell into the same trap as I did? And because he did not really answer the actual question. Commented Feb 22, 2016 at 22:31