prog.cpp:1:1: error: ‘include’ does not name a type
include <iostream>
^~~~~~~
prog.cpp: In function ‘int main()’:
prog.cpp:6:3: error: ‘cin’ was not declared in this scope
cin >>n;
^~~
prog.cpp:9:6: error: ‘cout’ was not declared in this scope
cout <<".";
^~~~
prog.cpp:11:6: error: ‘cout’ was not declared in this scope
cout <<"*";
^~~~
prog.cpp:13:6: error: ‘cout’ was not declared in this scope
cout <<".";
^~~~
prog.cpp:14:6: error: ‘cout’ was not declared in this scope
cout <<"\n";
^~~~
prog.cpp:18:6: error: ‘cout’ was not declared in this scope
cout <<".";
^~~~
prog.cpp:20:6: error: ‘cout’ was not declared in this scope
cout <<"*";
^~~~
prog.cpp:22:6: error: ‘cout’ was not declared in this scope
cout <<".";
^~~~
prog.cpp:23:6: error: ‘cout’ was not declared in this scope
cout <<"\n";
^~~~