소스 검색

Arrange styles in an array

DricomDragon 5 년 전
부모
커밋
5a8e736f7e
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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;