User profile: shacktar

User info
User name:shacktar
Location:Ontario, Canada
Number of posts:1180
Latest posts:

erase last vector element ( crash)
Because [code]sum[/code] was not being reset, your condition [code]if(sum < max && isPrime(sum))[/co...

erase last vector element ( crash)
Your vector is indeed empty at the point where the program crashes. It looks like you forgot to rei...

Are there any games written in C++?
Doom 3 was written in C++ and its code has been shared

exponential functions help.
Then maybe the conflict is coming from [tt]exponent[/tt]? If that's also a double (which I assumed i...

exponential functions help.
[tt]e[/tt] is an int probably. There are multiple overloads of [tt]pow[/tt] (one takes a double, ano...