Thread: branch

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    15

    branch

    what is diffrent between one way branching and two way branch?

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    In what context?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788
    I suppose it is about
    Code:
    if()
    {
    }
    against
    Code:
    if()
    {
    }
    else
    {
    }
    difference - in the missing else branch in the first case
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. branch vs ternary... cast
    By CodeMonkey in forum C++ Programming
    Replies: 15
    Last Post: 01-19-2009, 01:16 PM
  2. xuni: a Graphical User Interface Widget Toolkit
    By dwks in forum Projects and Job Recruitment
    Replies: 45
    Last Post: 06-04-2008, 02:35 PM
  3. wxWidgets - branch moving
    By pixsta in forum C++ Programming
    Replies: 0
    Last Post: 01-27-2006, 10:15 AM
  4. very Long!
    By ipatriot in forum C++ Programming
    Replies: 2
    Last Post: 12-07-2003, 11:43 AM
  5. How do you branch to another part of the program?
    By gcn_zelda in forum C++ Programming
    Replies: 3
    Last Post: 03-16-2003, 12:27 PM