error: ‘cout’ was not declared in this scope
#include <iostream>
using namespace std;
adding above two lines before main will help you
NOTE:
note: suggested alternative:
In file included from class.cpp:1:0:
/usr/include/c++/7/iostream:61:18: note: ‘std::cout’
extern ostream cout; /// Linked to standard output
^~~~
#include<iostream>
using namespace std; //use this
int main(){
char t = 'f';
char *t1;
char **t2;
cout<<t;
return 0;
}
Also in C:
- c calloc
- struct main function c in unix
- download file by command line windows
- celsius to fahrenheit formula
- mediawiki upload size
- If statement that tests if a value is in range
- Segment tree
- boolean function c
- visual studio code
- c print long
- fa fa-facebook
- router solicitation and advertisement magic is used by
- fibonacci sequence single recursive call
- rakshabandhan 2020
- Docker error Error response from daemon: conflict: unable to remove repository reference
- string compare in c
- counter program in c language
- matrix c declaration
- resto de division recursiva
- how to ascii art in c
- armstrong number in c
- read a binary file c
- c math.h sqrt
- command line arguments c