Language: C++

#include <iostream>
using namespace std;
int main() {
????????int H, W;
????????while (1) {
????????????????cin >> H >> W;
????????????????if (H == 0 && W == 0) {
????????????????????????break;
????????????????}
????????????????for (int i = 0; i<H; i++) {
????????????????????????for (int j = 0; j<W; j++) {
????????????????????????????????if (i>=1 && i<H-1 && j>=1 && j<W-1) {
????????????????????????????????????????cout << ".";
????????????????????????????????}
????????????????????????????????else{
????????????????????????????????cout <<"#";
????????????????????????????????}
????????????????????????}
????????????????????????cout << endl;
????????????????}
????????????????cout << endl;
??
????????}
????????return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:1: error: expected primary-expression before '?' token
    4 | ????????int H, W;
      | ^
a.cc:4:2: error: expected primary-expression before '?' token
    4 | ????????int H, W;
      |  ^
a.cc:4:3: error: expected primary-expression before '?' token
    4 | ????????int H, W;
      |   ^
a.cc:4:4: error: expected primary-expression before '?' token
    4 | ????????int H, W;
      |    ^
a.cc:4:5: error: expected primary-expression before '?' token
    4 | ????????int H, W;
      |     ^
a.cc:4:6: error: expected primary-expression before '?' token
    4 | ????????int H, W;
      |      ^
a.cc:4:7: error: expected primary-expression before '?' token
    4 | ????????int H, W;
      |       ^
a.cc:4:8: error: expected primary-expression before '?' token
    4 | ????????int H, W;
      |        ^
a.cc:4:9: error: expected primary-expression before 'int'
    4 | ????????int H, W;
      |         ^~~
a.cc:4:9: error: expected ':' before 'int'
    4 | ????????int H, W;
      |         ^~~
      |         :
a.cc:4:9: error: expected primary-expression before 'int'
    4 | ????????int H, W;
      |         ^~~
a.cc:4:9: error: expected ':' before 'int'
    4 | ????????int H, W;
      |         ^~~
      |         :
a.cc:4:9: error: expected primary-expression before 'int'
    4 | ????????int H, W;
      |         ^~~
a.cc:4:9: error: expected ':' before 'int'
    4 | ????????int H, W;
      |         ^~~
      |         :
a.cc:4:9: error: expected primary-expression before 'int'
    4 | ????????int H, W;
      |         ^~~
a.cc:4:9: error: expected ':' before 'int'
    4 | ????????int H, W;
      |         ^~~
      |         :
a.cc:4:9: error: expected primary-expression before 'int'
    4 | ????????int H, W;
      |         ^~~
a.cc:4:9: error: expected ':' before 'int'
    4 | ????????int H, W;
      |         ^~~
      |         :
a.cc:4:9: error: expected primary-expression before 'int'
    4 | ????????int H, W;
      |         ^~~
a.cc:4:9: error: expected ':' before 'int'
    4 | ????????int H, W;
      |         ^~~
      |         :
a.cc:4:9: error: expected primary-expression before 'int'
    4 | ????????int H, W;
      |         ^~~
a.cc:4:9: error: expected ':' before 'int'
    4 | ????????int H, W;
      |         ^~~
      |         :
a.cc:4:9: error: expected primary-expression before 'int'
    4 | ????????int H, W;
      |         ^~~
a.cc:4:9: error: expected ':' before 'int'
    4 | ????????int H, W;
      |         ^~~
      |         :
a.cc:4:9: error: expected primary-expression before 'int'
    4 | ????????int H, W;
      |         ^~~
a.cc:5:1: error: expected primary-expression before '?' token
    5 | ????????while (1) {
      | ^
a.cc:5:2: error: expected primary-expression before '?' token
    5 | ????????while (1) {
      |  ^
a.cc:5:3: error: expected primary-expression before '?' token
    5 | ????????while (1) {
      |   ^
a.cc:5:4: error: expected primary-expression before '?' token
    5 | ????????while (1) {
      |    ^
a.cc:5:5: error: expected primary-expression before '?' token
    5 | ????????while (1) {
      |     ^
a.cc:5:6: error: expected primary-expression before '?' token
    5 | ????????while (1) {
      |      ^
a.cc:5:7: error: expected primary-expression before '?' token
    5 | ????????while (1) {
      |       ^
a.cc:5:8: error: expected primary-expression before '?' token
    5 | ????????while (1) {
      |        ^
a.cc:5:9: error: expected primary-expression before 'while'
    5 | ????????while (1) {
      |         ^~~~~
a.cc:5:9: error: expected ':' before 'while'
    5 | ????????while (1) {
      |         ^~~~~
      |         :
a.cc:5:9: error: expected primary-expression before 'while'
    5 | ????????while (1) {
      |         ^~~~~
a.cc:5:9: error: expected ':' before 'while'
    5 | ????????while (1) {
      |         ^~~~~
      |         :
a.cc:5:9: error: expected primary-expression before 'while'
    5 | ????????while (1) {
      |         ^~~~~
a.cc:5:9: error: expected ':' before 'while'
    5 | ????????while (1) {
      |         ^~~~~
      |         :
a.cc:5:9: error: expected primary-expression before 'while'
    5 | ????????while (1) {
      |         ^~~~~
a.cc:5:9: error: expected ':' before 'while'
    5 | ????????while (1) {
      |         ^~~~~
      |         :
a.cc:5:9: error: expected primary-expression before 'while'
    5 | ????????while (1) {
      |         ^~~~~
a.cc:5:9: error: expected ':' before 'while'
    5 | ????????while (1) {
      |         ^~~~~
      |         :
a.cc:5:9: error: expected primary-expression before 'while'
    5 | ????????while (1) {
      |         ^~~~~
a.cc:5:9: error: expected ':' before 'while'
    5 | ????????while (1) {
      |         ^~~~~
      |         :
a.cc:5:9: error: expected primary-expression before 'while'
    5 | ????????while (1) {
      |         ^~~~~
a.cc:5:9: error: expected ':' before 'while'
    5 | ????????while (1) {
      |         ^~~~~
      |         :
a.cc:5:9: error: expected primary-expression before 'while'
    5 | ????????while (1) {
      |         ^~~~~
a.cc:5:9: error: expected ':' before 'while'
    5 | ????????while (1) {
      |         ^~~~~
      |         :
a.cc:5:9: error: expected primary-expression before 'while'
    5 | ????????while (1) {
      |         ^~~~~
a.cc:24:1: error: expected primary-expression before '?' token
   24 | ????????return 0;
      | ^
a.cc:24:2: error: expected primary-expression before '?' token
   24 | ????????return 0;
      |  ^
a.cc:24:3: error: expected primary-expression before '?' token
   24 | ????????return 0;
      |   ^
a.cc:24:4: error: expected primary-expression before '?' token
   24 | ????????return 0;
      |    ^
a.cc:24:5: error: expected primary-expression before '?' token
   24 | ????????return 0;
      |     ^
a.cc:24:6: error: expected primary-expression before '?' token
   24 | ????????return 0;
      |      ^
a.cc:24:7: error: expected primary-expression before '?' token
   24 | ????????return 0;
      |       ^
a.cc:24:8: error: expected primary-expression before '?' token
   24 | ????????return 0;
      |        ^
a.cc:24:9: error: expected primary-expression before 'return'
   24 | ????????return 0;
      |         ^~~~~~
a.cc:24:9: error: expected ':' before 'return'
   24 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:24:9: error: expected primary-expression before 'return'
   24 | ????????return 0;
      |         ^~~~~~
a.cc:24:9: error: expected ':' before 'return'
   24 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:24:9: error: expected primary-expression before 'return'
   24 | ????????return 0;
      |         ^~~~~~
a.cc:24:9: error: expected ':' before 'return'
   24 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:24:9: error: expected primary-expression before 'return'
   24 | ????????return 0;
      |         ^~~~~~
a.cc:24:9: error: expected ':' before 'return'
   24 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:24:9: error: expected primary-expression before 'return'
   24 | ????????return 0;
      |         ^~~~~~
a.cc:24:9: error: expected ':' before 'return'
   24 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:24:9: error: expected primary-expression before 'return'
   24 | ????????return 0;
      |         ^~~~~~
a.cc:24:9: error: expected ':' before 'return'
   24 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:24:9: error: expected primary-expression before 'return'
   24 | ????????return 0;
      |         ^~~~~~
a.cc:24:9: error: expected ':' before 'return'
   24 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:24:9: error: expected primary-expression before 'return'
   24 | ????????return 0;
      |         ^~~~~~
a.cc:24:9: error: expected ':' before 'return'
   24 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:24:9: error: expected primary-expression before 'return'
   24 | ????????return 0;
      |         ^~~~~~