Added C++ verion of FB.cxx