Thread: Embedded for loop information.

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    3

    Question Embedded for loop information.

    I understand that this isnt a place to ask people to do your homework. All I need to know is where can I go to find information on embedded for loop or nested loop programming.

    The assignment is Locate Embedded for loop and create a 5 by 5 astric (*) box with this program.

    Im really not sure how to do that, but if I could just find excatly where I would go to read about it the that would be a BIG help. Thanks so much for your time.

    Nikki

  2. #2
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    nested loop:
    Code:
    for(...blah...)
       {
       for(...blah...)
          {
          }
       }
    if the inside loop is drawing asterisks, the outside loop should be jumping down a line, right? That's as close to giving you the code as I usually get.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 06-01-2009, 07:54 PM
  2. Struct/parse returning wrong information
    By dontknowc in forum C Programming
    Replies: 5
    Last Post: 12-04-2007, 01:39 PM
  3. Assignment Help !! (Student information system)
    By ashb in forum C++ Programming
    Replies: 6
    Last Post: 03-12-2005, 05:32 AM
  4. Going out of scope
    By nickname_changed in forum C++ Programming
    Replies: 9
    Last Post: 10-12-2003, 06:27 PM
  5. Special Allegro Information
    By TechWins in forum Game Programming
    Replies: 12
    Last Post: 08-20-2002, 11:35 PM