LINUX C:創建與監控多個子進程 #include <unistd.h> #include <sys/types.h> #include <stdlib.h> #include <signal.h> #include <stdio.
轉載來自:https://blog.csdn.net/u014470361/article/details/83591513 SIGHUP /* hangup */ ~~~~~~ SIGHUP,hong up
釋放的是內置類型 int *p = new int[2]; //釋放 delete p, 和用delete[] p 效果都可以正常釋放內存; 釋放的是沒有析構函數的對象類型 class A{ public: A(){