Recently, whenever I have looked at the 'Who's Online' page I get the same effect. But the split is always at the same user.
I.e. the first page is everyone upto (and including) lfuser.
The second...
Remember to always check the code works for corner cases. For example, what will this code do for a zero-length string? Hint: it will try to access an invalid index.
Yes, I thought this was probably what was wrong.
Symus, when you originally coded postorder did you copy and paste preorder and just move the cout line?
You must have made a mistake somewhere - it works fine for me. NB: when I said exactly as preorder, except... I meant the same structure. I.e. the postorder method would call the postorder method for...
Why are your preorder and postorder methods structured differently? You could have written postorder exactly as preorder, except with the 'cout << data' part at the end. There is no need for it to...
Exactly this happened to me also, and it was my post :(
I was starting to think the upgrade had become self-aware and was removing any posts containing suggestions to remove it. :D
This has probably been said before, but why can't the 'upgrade' be rolled back? It has caused many problems, with there still (after 6 months!) being no end in sight.
Of course, depending upon the distance of the person from the river bank and the oncoming water, escape may not be possible. But the strategy of running at a slight angle (in this case) towards the...
Looking at the image you provided, it is clear that the way you are drawing the filled triangles is by drawing a lot of lines radiating from one of the triangle corners. This is not a good way to...
For any number (expressed in base 10), if the number is divisible by 3 then so is the sum of the digits - and vice versa. So you could simply determine whether the number itself is divisible by 3.
I explained this in my first post - it is because Capricorn spans dates from the end of one year into the start of the next. Therefore the 'start' date (23rd December) is later in the year than the...
This pattern works (assuming that the leading zeroes are always present in Text5 and Text7) for all except 'Capricorn', as the dates for that span the end of the year.
Following the pattern would...