User profile: dutch

User info
User name:dutch
History
Joined:
Number of posts:875
Latest posts:

SIGN-UP/LOG-IN: Login While loop exits early
[code] #include <iostream> #include <string> #include <cctype> using namespace std; #ifdef _WIN32 #...

file storage
You should only test up to the square root of n (for primes up to 100 you only need to test 2, 3, 5,...

What am I doing wrong with this inheritance
You shouldn't duplicate mainSub and name in the derived classes. [code] #include <iostream> #includ...

extremely inefficient but works....?
That's not a uniform distribution. [code] #include <iostream> #include <iomanip> #include <cstdlib>...

Not Reading a Random Number
In [code]FindNumber[/code], the [code]else[/code] is wrongly indented. It belongs to the [code]if[/c...