Need help

This is a discussion on Need help within the C++ Programming forums, part of the General Programming Boards category; I need help creating a program that displays a diamond shape using (*). I have to modify another program to ...

  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    2

    Need help

    I need help creating a program that displays a diamond shape using (*). I have to modify another program to do so. I'm required to use the Mod value, double loops and abs. Can someone point me on the right direction. Thanks, here's the program I need to modify.
    Attached Files Attached Files

  2. #2
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    well, have you tried anything on your own yet?
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  3. #3
    Registered User
    Join Date
    Oct 2005
    Posts
    2
    I've been messing around with the codes, trying to understand what each line mean. This is my first programming class and the teacher sucks.

  4. #4
    Lead Moderator kermi3's Avatar
    Join Date
    Aug 1998
    Posts
    2,595
    Why don't you post the code, using code tags (see my signature) with comments about where you're confused and what you think lines mean.
    Kermi3

    If you're new to the boards, welcome and reading this will help you get started.
    Information on code tags may be found here

    - Sandlot is the highest form of sport.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21