Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
Hi! I have a problem with a bit of code i'm writing. What i want to do is: In the header file: [code=c] private: int board[16]; [/code] And in the .cpp file constructor [code=c] ScoreBoard::ScoreBoard() { int board[16]={-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0}; } [/code] the compiler doesn't complain but i still get trash numbers … |