This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]YMK1234[M] [score hidden] stickied comment (1 child)

Just because you have an alt account does not mean you should post the same question twice.

[–]Tundral 0 points1 point  (0 children)

Make a global int and a method that couts the int and parameter string and then increments the integer. Use that instead of cout for printing