A note for C++ programming