Segue o meu código, e quando eu compilo ele aparece essa mensagem:
jogodaadivinhacao.cpp: In function 'int main()':
jogodaadivinhacao.cpp:4:4: error: 'cout' was not declared in this scope
cout <<"*";
^~
jogodaadivinhacao.cpp:4:4: note: suggested alternative:
In file included from jogodaadivinhacao.cpp:1:0:
c:\mingw\bin\lib\gcc\mingw32\6.3.0\include\c++\iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^