User profile: dhayden

User info
User name:dhayden
Name:Dave Hayden
Location:Central New Jersey, USA
Bio:I've been programming since the mid-1970s and doing it professionally since 1985.
Statistical data
Occupation:Programmer
Skills:C
BASIC
C++
Pascal
ADA
Delphi
Assembly
LISP
History
Joined:
Number of posts:4188
Latest posts:

Other data types
[quote]C++11 or later required for this example because of the vector's initialization[/quote] Don't...

prime numbers
With minimal changes to your original code: - start i at 2 instead of 3 - Declare n inside the outer...

The usual overloaded "<<" conundrum...
[quote]You have the option of public "get" functions or making the operator<< function a "friend" of...

Pointer
You know how your program has variables to store the data? Sometimes you don't know how much data y...

gave up solving this /explain:
Here is the code with spaces after the cases, indented to reflect the block structure, and with the ...