Question subject: C program that displays shapes. Keep getting errors.
Posted: Sun Oct 10, 2010 11:10 pm
Joined: Sun Oct 10, 2010 11:01 pm Posts: 1 Has thanked: 0 time Have thanks: 0 time
Here is my program. I've been working on it for over 20 hours and am really frustrated. It asks the user for input and then prints a shape of a certain length. The errors I get when I compile are:
shape.c: In function âmainâ: shape.c:22: error: expected identifier or â(â before âintâ shape.c:58: error: expected expression before âreturnâ shape.c:59: error: expected expression before â}â token shape.c:59: error: expected expression before â}â token