Exemplo n.º 1
0
int main(){
	cout<<"hello\n";
	
	SafeMatrix<int> first = SafeMatrix<int>(5,6);
	
	for(int g=0; g<first.numRows(); g++){
		for(int h=0; h<first.numCols(); h++){
			first[g][h]=g+h;
		}
	}
	
	SafeMatrix<int> second = first;
	
	for(int j=0; j<second.numRows(); j++){
		for(int k=0; k<second.numCols(); k++){
			cout<<second[j][k]<<", ";
		}
		cout<<"\n";
	}
		
	return 0;
}