1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

i an new and dont know how to loop...sad...

Discussion in 'C' started by cpulocksmith, Jul 29, 2008.

  1. cpulocksmith

    cpulocksmith New Member

    Joined:
    Jul 23, 2008
    Messages:
    289
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    student
    Location:
    canada
    ok well... as i have stated above i have no damn clue how to make a loop in C. it makes me kinda sad and i kow that it is a newby thing. and i have no idea where to find the code anywhere. so some one please tell me how the hell to do one.... i have been reading and reading and i can't find it anywhere. so please. and i have a hunch that XxximortalxxX will respond to this message. i like him ^^.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,276
    Likes Received:
    364
    Trophy Points:
    83
    You need to get a Book in C / C++ for learning the looping.
     
  3. XXxxImmortalxxXX

    XXxxImmortalxxXX New Member

    Joined:
    Jun 27, 2007
    Messages:
    569
    Likes Received:
    18
    Trophy Points:
    0
    Thankyou for your comment umm first of what loop is it that your wanting to do?
     
  4. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    What have you been reading if you've been "reading and reading" and not come across loops yet?
     
  5. Silcrome

    Silcrome New Member

    Joined:
    Jul 28, 2008
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Software Engineer
    just to give you a few key words to look for try typing into google "C while loop" or "C for loop" or "recursion tutorial"(this one is a bit more advanced)
     
  6. Silcrome

    Silcrome New Member

    Joined:
    Jul 28, 2008
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Software Engineer
    or better yet an example in java:

    while(!learned)
    {
    try
    {
    research("looping");
    }catch(IGaveUpException e)
    {
    increaseEffort();
    }
    }
     
  7. sofprog66

    sofprog66 New Member

    Joined:
    Jul 8, 2008
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    0
    Ok well CPUlocksmith this is the best thing or one of the best advices someone can give you. Type in you address bar Cprogramming.com, when your there look to the left of the page. Under "Starting out" you will see a link called "tutorials" click on it. After you clicked on the link there should be another link right in front of you called "C made easy" and start from the beginning. This will be you starting point in C programming.
     

Share This Page