मैं एक सी ++ प्रोग्राम में घोषित नहीं किया गया था:'अदालत' में इस सीमा के
#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;
}
जी ++ test.cpp
मैं त्रुटि मिलती है error: 'cout' was not declared in this scope
क्यों?
मैं सोच रहा हूँ यह कितनी बार यहां से पूछा गया। –