Hints 203
Hint 134: Here’s one method:
if (i == 2)
i = 1;
else
i = 2;
But there’s a faster method. (Next Hint 140. Answer 48.)
Hint 135: The answer is system-dependent. (Next Hint 264. Answer 70.)
Hint 136: Octal. (Answer 15.)
Hint 137: When is
std::
cout initialized? (Answer 111.)
Hint 138: g++ warning:
comment.cpp:11: warning: `/*' within comment
(Answer 62.)
Hint 139: I expected the program to print:
First 1
First 1
First 1
Second 1
Second 2
Second 3
This is not what was printed. (Next Hint 297. Answer 102.)
Hint 140: Here’s another method:
i = (i == 2) ? 1 : 2;
But there’s a faster method. (Next Hint 216. Answer 48.)
Hint 141: Results can be changed by compile-time switches on some compilers.
(Next Hint 30. Answer 8.)
Hint 142: Constructors for a derived class ...