I'm trying to figure out this program, see attch.
It is a wonderful code, others I've seen others that are massive bundles of code upon bundles, but this is one is short and it works great.
I've got three questions, see if any one can explain these things:
1. Why the bool ? It needs it to run but I dont'
see why it's there.
2. This statement:
reverse (instring.begin (), instring.end ());
string outstring (instring);
How does is work? I've tried to run it on it's own and it wont do anything.
3. The series of code lines that are like these:
s1[s1size++] = i;
This is bit manipulation right?
I've asked a few people here and they don't know,
shows the level of our knowledge.