#include int main(void) { const int x = 0x0; try { if (x == 0) throw "throwing a string"; } catch (const char *str) { std::cerr << str; } return 0; }