Przeglądaj źródła

Arrange styles in an array

DricomDragon 5 lat temu
rodzic
commit
5a8e736f7e
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      colors/main.cpp

+ 3 - 1
colors/main.cpp

@@ -35,9 +35,11 @@ int main() {
 				cout << "\033[" << cat << ';' << kind << color << 'm';
 				cout << cat << ';' << kind << color;
 				resetColor();
-				cout << endl;
+				cout << ' ';
 			}
+			cout << " | ";
 		}
+		cout << endl;
 	}
 
 	cout << endl << "Upperline" << endl;