|visits||member for||1 year, 10 months|
|seen||Aug 18 at 12:00|
C++ tips I've found useful
0for null pointers, use
Don't use C-style anything (arrays, macros, casts etc).
Only real men use naked pointers. Shared pointers are the right choice for softy men like you.
std::vector<bool>is not your friend.
Always use the right tool for the job.
std::uniform_int_distributionand co. instead.
Only talk to your immediate friends.
Don't give the clerk your wallet, silly! Give him your money.
Follow the Rule of Zero - by R. Martinho Fernandes.
auto main() -> int
Like jalf says: "should a second instance exist?" is a decision that can only reasonably be made when the class is used, not when it was originally designed.
The Ballmer's peak is around ~0.4l of ~4% beer with a weight of ~75Kg while having full stomach.
This list is incomplet and incorrekt.
Here is a list of books I have read and I'd recommend: