[c] error: ‘exit’ was not declared in this scope
error: ‘exit’ was not declared in this scope
it will be compiled without errors if you include in your code the statement:
#include <cstdlib>
error: ‘fork’ was not declared in this scope
it will be compiled without errors if you include in your code the statement:
#include <unistd.h>
it will be compiled without errors if you include in your code the statement:
#include <cstdlib>
error: ‘fork’ was not declared in this scope
it will be compiled without errors if you include in your code the statement:
#include <unistd.h>
留言
張貼留言