Main.cc: In function 'int main()': Main.cc:5:19: error: 'scanf' was not declared in this scope scanf("%d", &t); ^