Moved to C-C++ forum for better response.