Language: C++

#include <iostream>
using namespace::std;
int main(int argc, const char * argv[]) {
????????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;
??
????????}
????????// insert code here...
????????//std::cout << "Hello, World!\n";
????????return 0;
}

Compiler output:
a.cc:24:7: warning: trigraph ??/ ignored, use -trigraphs to enable [-Wtrigraphs]
   24 | ????????// insert code here...
a.cc:25:7: warning: trigraph ??/ ignored, use -trigraphs to enable [-Wtrigraphs]
   25 | ????????//std::cout << "Hello, World!\n";
a.cc: In function 'int main(int, const char**)':
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 | ????????// insert code here...
      | ^
a.cc:24:2: error: expected primary-expression before '?' token
   24 | ????????// insert code here...
      |  ^
a.cc:24:3: error: expected primary-expression before '?' token
   24 | ????????// insert code here...
      |   ^
a.cc:24:4: error: expected primary-expression before '?' token
   24 | ????????// insert code here...
      |    ^
a.cc:24:5: error: expected primary-expression before '?' token
   24 | ????????// insert code here...
      |     ^
a.cc:24:6: error: expected primary-expression before '?' token
   24 | ????????// insert code here...
      |      ^
a.cc:24:7: error: expected primary-expression before '?' token
   24 | ????????// insert code here...
      |       ^
a.cc:24:8: error: expected primary-expression before '?' token
   24 | ????????// insert code here...
      |        ^
a.cc:25:1: error: expected primary-expression before '?' token
   25 | ????????//std::cout << "Hello, World!\n";
      | ^
a.cc:25:2: error: expected primary-expression before '?' token
   25 | ????????//std::cout << "Hello, World!\n";
      |  ^
a.cc:25:3: error: expected primary-expression before '?' token
   25 | ????????//std::cout << "Hello, World!\n";
      |   ^
a.cc:25:4: error: expected primary-expression before '?' token
   25 | ????????//std::cout << "Hello, World!\n";
      |    ^
a.cc:25:5: error: expected primary-expression before '?' token
   25 | ????????//std::cout << "Hello, World!\n";
      |     ^
a.cc:25:6: error: expected primary-expression before '?' token
   25 | ????????//std::cout << "Hello, World!\n";
      |      ^
a.cc:25:7: error: expected primary-expression before '?' token
   25 | ????????//std::cout << "Hello, World!\n";
      |       ^
a.cc:25:8: error: expected primary-expression before '?' token
   25 | ????????//std::cout << "Hello, World!\n";
      |        ^
a.cc:26:1: error: expected primary-expression before '?' token
   26 | ????????return 0;
      | ^
a.cc:26:2: error: expected primary-expression before '?' token
   26 | ????????return 0;
      |  ^
a.cc:26:3: error: expected primary-expression before '?' token
   26 | ????????return 0;
      |   ^
a.cc:26:4: error: expected primary-expression before '?' token
   26 | ????????return 0;
      |    ^
a.cc:26:5: error: expected primary-expression before '?' token
   26 | ????????return 0;
      |     ^
a.cc:26:6: error: expected primary-expression before '?' token
   26 | ????????return 0;
      |      ^
a.cc:26:7: error: expected primary-expression before '?' token
   26 | ????????return 0;
      |       ^
a.cc:26:8: error: expected primary-expression before '?' token
   26 | ????????return 0;
      |        ^
a.cc:26:9: error: expected primary-expression before 'return'
   26 | ????????return 0;
      |         ^~~~~~
a.cc:26:9: error: expected ':' before 'return'
   26 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:26:9: error: expected primary-expression before 'return'
   26 | ????????return 0;
      |         ^~~~~~
a.cc:26:9: error: expected ':' before 'return'
   26 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:26:9: error: expected primary-expression before 'return'
   26 | ????????return 0;
      |         ^~~~~~
a.cc:26:9: error: expected ':' before 'return'
   26 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:26:9: error: expected primary-expression before 'return'
   26 | ????????return 0;
      |         ^~~~~~
a.cc:26:9: error: expected ':' before 'return'
   26 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:26:9: error: expected primary-expression before 'return'
   26 | ????????return 0;
      |         ^~~~~~
a.cc:26:9: error: expected ':' before 'return'
   26 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:26:9: error: expected primary-expression before 'return'
   26 | ????????return 0;
      |         ^~~~~~
a.cc:26:9: error: expected ':' before 'return'
   26 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:26:9: error: expected primary-expression before 'return'
   26 | ????????return 0;
      |         ^~~~~~
a.cc:26:9: error: expected ':' before 'return'
   26 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:26:9: error: expected primary-expression before 'return'
   26 | ????????return 0;
      |         ^~~~~~
a.cc:26:9: error: expected ':' before 'return'
   26 | ????????return 0;
      |         ^~~~~~
      |         :
a.cc:26:9: error: expected primary-expression before 'retur