User profile: crimsonzero2

User info
User name:crimsonzero2
History
Joined:
Number of posts:186
Latest posts:

Printing Asterisks Horizontally with user input
Basically, get the input of the user, count it, then print out that number of asterisks.

calculating pi to requested accuracy?
Instead of using acc as a double, I would suggest using it as an int then use the setprecision(acc) ...

How to access string of private in class
So, what you have right now would return an array character. If it was returning the char array, it...

'Counter" in craps program
I would put the code [code]int x = 1;[/code] after the [code]srand(time(0));[/code]. Then before th...

How to access string of private in class
That would access the private char string, just make sure you return a char array also otherwise it'...