非空指针,可以过assert #include <assert.h> #include <iostream> using namespace std; int main(int argc, char const *argv[]) {