1#include <iostream>
2using namespace std;
3
4adding above two lines before main will help you
5
6NOTE:
7note: suggested alternative:
8In file included from class.cpp:1:0:
9/usr/include/c++/7/iostream:61:18: note: ‘std::cout’
10 extern ostream cout; /// Linked to standard output
11 ^~~~
12
1#include<iostream>
2using namespace std; //use this
3int main(){
4 char t = 'f';
5 char *t1;
6 char **t2;
7 cout<<t;
8 return 0;
9}