Break the program down into small steps. I like to use pseudocode, or, writing my thoughts out in a not-really-code-but-kinda-code manner:
Code:
display menu of choices
get choice from user
call function based on choice
Ok, now I break this down further perhaps:
Code:
display menu
get choice
switch choice
choice square: call square function
choice diamond: call diamond function
choice triangle: call triangle function
...and so on...
Now, since I haven't anything on the square function, let's see what it might be:
Code:
ask user what character they want it to be drawn from
get input from user
ask user width of square
get input from user
ask user height of square
draw the top row
draw middle rows
draw the bottom row
Now let's break the drawing part down even further:
Code:
draw top row
draw height - 2 middle rows
draw bottom row
Even further:
Code:
/* top row */
repeat width times:
draw users's character of choice
go to new line
/* middle rows */
repeat height - 2 times
draw user's character of choice
draw width - 2 spaces
draw usere's character of choice
go to new line
/* bottom line */
repeat width times:
draw users's character of choice
go to new line
It helps a great deal to think of the steps you need to do each task. Start with the overview of the entire project. Breat it into steps. Break each step into steps. Repeat until you can't break it down any more. Code it.
[edit]
People crack me up. Someone tried to mod me down as unhelpful on this post. Here's the comment that was left:
actually "you're" not doing anything for me; if you don't like keep stepping; yall need to get a life
This amuses me to no end. I give a huge example of how to break things into smaller steps, and someone doesn't think that's help. That's a riot, especially considering the OP stated that "any help no matter how minute" would be appreciated.
It is to laugh.
[/edit]
Quzah.