(do)

This is a discussion on (do) within the C Programming forums, part of the General Programming Boards category; I don't really understandthe concept of the DO function could someone elxplain to me it, and tell me how it ...

  1. #1
    Unregistered
    Guest

    Post (do)

    I don't really understandthe concept of the DO function could someone elxplain to me it, and tell me how it is usefull...

    Thanks in advance.

  2. #2
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493

    Re: (do)

    Originally posted by Unregistered
    I don't really understandthe concept of the DO function could someone elxplain to me it, and tell me how it is usefull...

    Thanks in advance.
    it's not a function, it's a keyword.

    do { statements; } while (expression);

    do is exactly like while except it goes through the loop once before testing for conditions.

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