0_0_18025002_29509.cpp: In function 'void work()':
0_0_18025002_29509.cpp:35:5: error: reference to 'cout' is ambiguous
cout++;
^
0_0_18025002_29509.cpp:17:5: note: candidates are: int cout
int cout;
^
In file included from 0_0_18025002_29509.cpp:3:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note: std::ostream std::cout
extern ostream cout; /// Linked to standard output
^
0_0_18025002_29509.cpp: In function 'int main()':
0_0_18025002_29509.cpp:46:3: error: reference to 'cout' is ambiguous
cout=0;
^
0_0_18025002_29509.cpp:17:5: note: candidates are: int cout
int cout;
^
In file included from 0_0_18025002_29509.cpp:3:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note: std::ostream std::cout
extern ostream cout; /// Linked to standard output
^
0_0_18025002_29509.cpp:52:17: error: reference to 'cout' is ambiguous
printf("%d\n",cout);
^
0_0_18025002_29509.cpp:17:5: note: candidates are: int cout
int cout;
^
In file included from 0_0_18025002_29509.cpp:3:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note: std::ostream std::cout
extern ostream cout; /// Linked to standard output
^
|