摘要:
根据上次的帖子改了下,让其更智能如能更改边框、内填充、外填充、高度、个数效果如下图:代码如下所示 1 #include <iostream> 2 3 using namespace std; 4 5 void DrawRhombus(int totalRhombusHeight, int totalRhombusNum, int maxSpaceNum, int rhombusMiddleLine,char rhombusBorder, char rhombusFill, char rhombusOutFill); 6 7 int main(void){ 8 in... 阅读全文