Przeglądaj źródła

Fixed newline in output (TS)

Jan Potocki 6 lat temu
rodzic
commit
0b6e9418f9
2 zmienionych plików z 2 dodań i 1 usunięć
  1. 1
    1
      Graph.cpp
  2. 1
    0
      pea2plus.cpp

+ 1
- 1
Graph.cpp Wyświetl plik

679
         stopCounter = 0;
679
         stopCounter = 0;
680
     }
680
     }
681
 
681
 
682
-    std::cout << std::endl;
682
+    //std::cout << std::endl;
683
 }
683
 }

+ 1
- 0
pea2plus.cpp Wyświetl plik

448
                             cout << route.at(i) << '\t' << length << '\t' << distFromStart << endl;
448
                             cout << route.at(i) << '\t' << length << '\t' << distFromStart << endl;
449
                         }
449
                         }
450
 
450
 
451
+                        cout << endl;
451
                         cout << "Dlugosc trasy: " << distFromStart << endl;
452
                         cout << "Dlugosc trasy: " << distFromStart << endl;
452
                         cout << endl;
453
                         cout << endl;
453
                         cout << "Czas wykonania algorytmu [s]: " << clock.read() << endl;
454
                         cout << "Czas wykonania algorytmu [s]: " << clock.read() << endl;

Ładowanie…
Anuluj
Zapisz