yungman
- 5,741
- 294
It is hard to take any advice when someone never actually advice, only using sarcasm and put down remark of me to someone else instead directly to me.Vanadium 50 said:What is very good is that the constructor cannot fail. This is not true if the constructor is opening and reading files. Why does this matter? Because a constructor can't return a status word saying "Hey, there was a problem and I wasn't even created." One needs to throw an exception, and the OP is not got that far. Normally, one would say "do it this way now, and you'll see why this is a good habit to get into after a few chapters", but the OP is tempermentally unsuited to accept this kind of advice - indeed, has rejected it.
Last edited: