Mam program w C++'cout' nie został zadeklarowany w tym zakresie
#include<iostream>
int main()
{
char t = 'f';
char *t1;
char **t2;
cout<<t; //this causes an error, cout was not declared in this scope
return 0;
}
g ++ test.cpp
pojawia się błąd error: 'cout' was not declared in this scope
dlaczego?
Zastanawiam się ile razy ten został poproszony tutaj. –