gets was not declared in this scope code example
Example 1: cout was not declared in this scope
#include<iostream>
using namespace std; //use this
int main(){
char t = 'f';
char *t1;
char **t2;
cout<<t;
return 0;
}
Example 2: system was not declared in this scope
#include <cstdlib>