What is wrong with the program
<p>I am getting error for below code:</p>

<pre><code>#include "parent_child.h"
#include "child_proces.h"

int main() {

    childprocess::childprocess(){}
    childprocess::~childprocess(){}
     /* parentchild *cp = NULL;
        act.sa_sigaction = cp-&gt;SignalHandlerCallback;
        act.sa_flags = SA_SIGINFO;
        sigaction(SIGKILL, &amp;act, NULL);
    }*/
    printf("Child process\n");

    return 0;
}
</code></pre>

<blockquote>
  <p>ERROR: child_proces.cpp: In function âint main()â:
  child_proces.cpp:11: error: expected <code>;' 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</code>;' before â{â token</p>
</blockquote>
