Search:

Type: Posts; User: antred

Search: Search took 0.01 seconds.

  1. Replies
    41
    Views
    5,673

    Moving all that stuff out to a separate function...

    Moving all that stuff out to a separate function encourages an approach to programming that emphasizes breaking down problems into small, manageable pieces that can be developed, debugged and...
  2. Replies
    41
    Views
    5,673

    void func() { while (whatever) { ...

    void func()
    {
    while (whatever) {
    while (something) {
    if (such_and_such)
    return; // <-- no goto needed
    actual_work();
    }
    }
    }
  3. Replies
    41
    Views
    5,673

    I've heard some people say that there are some...

    I've heard some people say that there are some legitimate uses for goto, but personally I've never been presented a convincing case.
Results 1 to 3 of 3