User profile: Maniax

User info
User name:Maniax
History
Joined:
Number of posts:39
Latest posts:

help with adding variables
[code]int code = 0;[/code] [code]if (code == 0123)[/code] if you enter 0123, it will be converted to...

Can't figure out what I did wrong
[code]cout << inwin.sum();[/code] sum is a private variable and thus can only be accessed from withi...

Pascal's triangle
this http://en.wikipedia.org/wiki/Binomial_coefficient will help you each term in the triangle is ca...

Program that checks if a user inputted double variable is valid breaks when it's not valid. How do I fix it?
You can also do this [code]cin.clear(); while (cin.get()!='\n')continue;[/code] so that it doesn't g...

Program that checks if a user inputted double variable is valid breaks when it's not valid. How do I fix it?
Don't know if it's the best method to do this but [code]double getDollarAmt() { double dollarAmou...