error: ‘system’ was not declared in this scope | g++ Posted on January 5, 2013 by bentoslack Replyerror: ‘system’ was not declared in this scopewe need#include <cstdlib>