//Selam Ben Fatih Söylemez bugün sizlerle bir kod yazmayı deneyip yazamayacağım..:( #include #include #include using namespace std; int main(){ int length=0; int i,j; string line; double comparator[1][length]; double temp; ifstream Amatricefile; ifstream Bmatricefile; Amatricefile.open("C:\\Users\\Fatih\\Desktop\\A.txt"); Bmatricefile.open("C:\\Users\\Fatih\\Desktop\\b.txt"); if (Amatricefile.is_open()) { while (getline (Amatricefile,line) ) { length= length+1; } Amatricefile.close();} double Amatrice[length][length]; Amatricefile.open("C:\\Users\\Fatih\\Desktop\\A.txt"); if (Bmatricefile.is_open()){ //double Bmatrice[length][1]; for(i=0;i> Amatrice[i][j]; cout << Amatrice[i][j] << " " ; } Bmatricefile >> Amatrice[i][length]; cout << Amatrice[i][j] << "\n"; }} // for(int w=0;w=0){ // everytime true comparator[0][j]= Amatrice[i][j]; } for(i=0;i