[add] Support for C++: fixed C-only syntax + add ASSERT_THROWS
[add] Support for C++