#include <iostream>
using namespace std;
int main() {
int hrf[8][32]=
{
{0,1,1,1,1,1,0,0, 0,1,1,1,1,1,0,0, 1,1,0,0,0,0,1,0, 0,1,1,1,1,1,1,0},
{0,1,0,0,0,1,0,0, 1,1,0,0,0,1,1,0, 1,1,0,0,0,0,1,0, 1,1,0,0,0,0,0,0},
{0,1,0,0,0,1,0,0, 1,1,0,0,0,0,0,0, 1,1,0,0,0,0,1,0, 1,1,0,0,0,0,0,0},
{1,1,1,1,1,1,1,0, 1,1,0,0,0,0,0,0, 1,1,0,0,0,0,1,0, 0,1,1,1,1,1,0,0},
{1,1,0,0,0,0,1,0, 1,1,0,0,0,1,1,0, 1,1,0,0,0,0,1,0, 0,0,0,0,0,1,1,0},
{1,1,0,0,0,0,1,0, 1,1,0,0,0,0,1,0, 1,1,1,1,1,1,1,0, 0,0,0,0,0,1,1,0},
{1,1,0,0,0,0,1,0, 0,1,1,1,1,1,1,0, 0,1,1,1,1,1,0,0, 1,1,1,1,1,1,0,0},
{0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0},
};
int i,j;
for(i=0;i<8;i++)
{
for(j=0; j<32; j++)
if (hrf[i][j]==1)
cout<<"0";
else
cout<<"\x20";
cout<<endl;
}
return 0;
}
OUTPUT :
.bmp)
good job boy
BalasHapus