User profile: Peter87

User info
User name:Peter87
Number of posts:8012
Latest posts:

Need an explanation
It's a good question. The string assignment operator has been overloaded for char so what really h...

Need to revise logic that isn't working
The inner loop waits for [b][tt]i[/tt][/b] to reach 21 but that will never happen. [code]for (int i...

Wrong program output (in some cases)
Maybe the problem is that you do not output an empty line when the size is zero.

Wrong program output (in some cases)
Could you give an example? What output do you get and how does it differ from what you want?

Incorrect Double Outputs
[code] (double)(11 / 5)[/code] You are dividing the integer 11 with the integer 5 which will give yo...

This user does not accept Private Messages

User: Peter87

  • Public profile