我用了之后便以可以通过,但是一执行就提示Abort(memory dumped)
这是为什么呢?
By default, gcc won’t use exception. you can enable it with -fexceptions flag. But I am not sure how good the libstdc++ is with exceptions.
如果你用的是 QNX SE 或 PE, 可以试试Dinkum C++ and exception is enabled by default in dinkum:
QCC -Vgcc_ntox86_cpp …