User profile: booradley60

User info
User name:booradley60
History
Joined:
Number of posts:485
Latest posts:

private data member is accessed and no error
The copy constructor is a member of the class. Therefore, it has access to the private members of th...

32767!?!?!?!
[quote=vrivas]booradley60, unfortunately I can't apply limits. The program has to run for any number...

Palindrome
I've found the honor system to be sufficient. [code] #include <iostream> #include <string> int main ...

32767!?!?!?!
Initialize your max and min properly (lines 10 and 11). Put [code]#include <limits>[/code] and set m...

Resetting pointer using new
Instead of incrementing the pointer, use the pointer plus an offset. [code]const int Size = 100; cha...