User profile: JLBorges

User info
User name:JLBorges
History
Joined:
Number of posts:13733
Latest posts:

year_month_day vs sys_days
> we frequently have to add/subtract a number of days or months from a date. > Also to obtain the n...

C++ Questions
[code]#include <iostream> // All non-local variables with static storage duration are initialized a...

expression
> [tt]cout << "the result is" << number;[/tt] [tt]cout[/tt] - [i]id-expression[/i] ([i]primary expr...

new/delete exception
> Do you guys really assign a pointer to NULL & back to NULL after delete for safety measures, relig...

Is sizeof useful in modern C++?
It is required in some situations; for instance for implementing a custom allocator.