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.

4
  • Did you declare new_ipScore? Commented Apr 23, 2014 at 8:22
  • 1
    Isn't new_ipScore = new int[getSize()]; the declaration? If it's not, then why ipScore = new int[getSize()]; is working without any errors? Thanks Commented Apr 23, 2014 at 8:26
  • ipScore is probably declared. No, new_ipScore = new int[getSize()]; isn't a declaration, it's an assignment to an already declared variable. int* new_ipScore = ... would be a declaration + initialization. Commented Apr 23, 2014 at 8:27
  • 1
    Stuuuuupid MEEEEEEE. Yes it was already declared in private of class Score Haha thanks any way ;) huff Commented Apr 23, 2014 at 8:28