The well-known #define and #if..#endif is no big deal. But from time to
time, we might want to use some features that provided by the CPP.
[more]
Mudigonda (2009) SPAIN: Design and Algorithms for Constructing Large Data-Center Ethernets from Commodity Switches (HP TechRep)
This paper describes SPAIN, a method to build data center networks (load balanced networks) from commodity ethernet switches and specialized hosts.
[more]
Programming Pearls 2e
Jon Bentley / 1999
This is a must-read for all the programmers. Codes are in C or C++ but the idea is the fruit of this book.
[more]
C++ subtleties
Calling delete this may or may not crash, depending on whether the object is created outside or inside heap The prefix and postfix operator++ function is differentiated by void argument (prefix) or a dummy int argument (postfix) The compiler constructs a vtable for an object gradually during the constructor of...
[more]
ns3: Use of pointers
In NS-3, the pointers are Ptr<T>, which is a smart pointer template that wraps a real C pointer.
[more]