1 #include<iostream> 2 3 int main() 4 { 5 int line1[]={1,0,0}; 6 int line2[]={1,0,0}; 7 int line3[]={1,0,0}; 8 9 int * pLine[3]={line1,line2,line3}; 10 11 std::cout<<"Matrix test:"<<std::endl; 12 13 14 for(int i=0;i<3;++i) 15 for(int j=0;j<3;j++) 16 std::cout<<pLine[i][j]<<" "; 17 18 std::cout<<std::endl; 19 20 21 }