User profile: Stewbond

User info
User name:Stewbond
History
Joined:
Number of posts:2788
Latest posts:

Newton Raphson recursive function
you were doing this before: [code]if (...) { newt(xn, accu); return 0; }[/code] You are now ef...

compiler failing to build
Code::Blocks is an IDE. You need to add a compiler like GCC, MinGW

C++ Exceptions as part of general programme flow
I've often seen exception classes used like so: [code]throw LogException << "Some Error Message";[/...

Newton Raphson recursive function
I once made one like this using function pointers: [code]typedef double (*func)(double); // func is ...

If and else statements with game scores
There's a problem on this line: else if ((score >= 5000 ) && (score <= 4499)) You'll never have a ...