It was posted in C++ forum.