Language: C++

#include <iostream>
#include <algorithm>
#include <math.h>
using namespace std;

	int main(){
		int h,w,x,y;
		cin >> h >> w ;
		while(H!=0||w!=0){
			for(y==0;y<h;y++){
				for(x==0;x<w;x++){
					cout << "#";
				}
				cout << endl??????endl;
			}

		cin >> h >> w;
		}
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: 'H' was not declared in this scope
    9 |                 while(H!=0||w!=0){
      |                       ^
a.cc:14:46: error: expected primary-expression before '?' token
   14 |                                 cout << endl??????endl;
      |                                              ^
a.cc:14:47: error: expected primary-expression before '?' token
   14 |                                 cout << endl??????endl;
      |                                               ^
a.cc:14:48: error: expected primary-expression before '?' token
   14 |                                 cout << endl??????endl;
      |                                                ^
a.cc:14:49: error: expected primary-expression before '?' token
   14 |                                 cout << endl??????endl;
      |                                                 ^
a.cc:14:50: error: expected primary-expression before '?' token
   14 |                                 cout << endl??????endl;
      |                                                  ^
a.cc:14:55: error: expected ':' before ';' token
   14 |                                 cout << endl??????endl;
      |                                                       ^
      |                                                       :
a.cc:14:55: error: expected primary-expression before ';' token
a.cc:14:55: error: expected ':' before ';' token
   14 |                                 cout << endl??????endl;
      |                                                       ^
      |                                                       :
a.cc:14:55: error: expected primary-expression before ';' token
a.cc:14:55: error: expected ':' before ';' token
   14 |                                 cout << endl??????endl;
      |                                                       ^
      |                                                       :
a.cc:14:55: error: expected primary-expression before ';' token
a.cc:14:55: error: expected ':' before ';' token
   14 |                                 cout << endl??????endl;
      |                                                       ^
      |                                                       :
a.cc:14:55: error: expected primary-expression before ';' token
a.cc:14:55: error: expected ':' before ';' token
   14 |                                 cout << endl??????endl;
      |                                                       ^
      |                                                       :
a.cc:14:55: error: expected primary-expression before ';' token
a.cc:14:55: error: expected ':' before ';' token
   14 |                                 cout << endl??????endl;
      |                                                       ^
      |                                                       :
a.cc:14:55: error: expected primary-expression before ';' token