#include "parent_child.h"
#include "child_proces.h"
int main() {
childprocess::childprocess(){}
childprocess::~childprocess(){}
/* parentchild *cp = NULL;
act.sa_sigaction = cp->SignalHandlerCallback;
act.sa_flags = SA_SIGINFO;
sigaction(SIGKILL, &act, NULL);
}*/
printf("Child process\n");
return 0;
}
ERROR: child_proces.cpp: In function âint main()â: child_proces.cpp:11: error: expected
;' before â{â token child_proces.cpp:12: error: no matching function for call to âchildprocess::~childprocess()â child_proces.h:9: note: candidates are: childprocess::~childprocess() child_proces.cpp:12: error: expected
;' before â{â token