From 660f01bdb83a44f68d9455ac1ccda96de5e66169 Mon Sep 17 00:00:00 2001 From: BensProgramma <91996773+BensProgramma@users.noreply.github.com> Date: Tue, 26 Oct 2021 23:08:14 -0700 Subject: Update RunFromLab4_Schroeder.txt --- CST116F2021-Lab4/RunFromLab4_Schroeder.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CST116F2021-Lab4/RunFromLab4_Schroeder.txt b/CST116F2021-Lab4/RunFromLab4_Schroeder.txt index d4a3cb2..5ed1472 100644 --- a/CST116F2021-Lab4/RunFromLab4_Schroeder.txt +++ b/CST116F2021-Lab4/RunFromLab4_Schroeder.txt @@ -358,10 +358,10 @@ int main() // Program to draw a rectangle on the screen of user defined void DrawRect(int height,int width) //Function that draws the rectangle { //Top - string line(width,char(196)); - line[0] = char(218); - line[width-1] = char(191); - cout << line<<"\n"; + string top(width,char(196)); + top[0] = char(218); + top[width-1] = char(191); + cout << top<<"\n"; //Sides string sides(width, char(32)); -- cgit v1.2.3