Exten code C++