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*

3
  • 1
    What's a LiczbaHeks? Read about constructor initializer lists. And it doesn't look like you want num and val to be static data members. Commented Apr 9, 2015 at 21:13
  • 1
    Yes, you need an initializer list. And don't use new like that. And, you could always add a default constructor, but in this case you shouldn't need it. Commented Apr 9, 2015 at 21:14
  • I edit that "LiczbaHeks". It is from my code, I haven't seen this. Sorry. Commented Apr 9, 2015 at 21:17