bolean

This is a discussion on bolean within the C++ Programming forums, part of the General Programming Boards category; can someone explain this bolean thing to me... like with the ++ and || and other stuff...

  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    4

    Exclamation bolean

    can someone explain this bolean thing to me...


    like with the ++ and || and other stuff

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,006
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  3. #3
    Registered User
    Join Date
    Jan 2006
    Posts
    4
    is knowing boolean really needed ?

  4. #4
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,006
    Do you have a real question?
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  5. #5
    xhi
    xhi is offline
    !anExpert
    Join Date
    Mar 2005
    Location
    pa
    Posts
    155
    Quote Originally Posted by Dave_Sinkula
    or better yet

    http://www.google.com/search?q=boolean

    sorry, i couldnt resist.. ;-)

    <edit> nevermind.. always the last to get it.. damn!</edit>

  6. #6
    Registered User
    Join Date
    Jan 2006
    Posts
    4
    no...really... is it needed?

  7. #7
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    if it's not needed, then how would you answer this question?

    well, first, what you're looking for (as suggested by Dave_Sinkula's link) is a boolean data type.

    second, the ++ has nothing to do with boolean data types. Third, || means "OR".

    Boolean logic has a pretty wide scope sometimes, so for now I suggest you start reading around... Here's a good place to get you started: http://en.wikipedia.org/wiki/Boolean_logic
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  8. #8
    Registered User
    Join Date
    Nov 2004
    Location
    Pennsylvania
    Posts
    434
    YES, very much so!

  9. #9
    Registered User
    Join Date
    Jan 2006
    Posts
    4
    nooooooooooooooooooooooooooooooooooooooooooooooo
    hows a 8th grader understand this?

  10. #10
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Quote Originally Posted by Akashlee
    nooooooooooooooooooooooooooooooooooooooooooooooo
    hows a 8th grader understand this?
    probably because that's around the age alot of people start learning about logic gates?
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  11. #11
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,006
    Quote Originally Posted by Akashlee
    nooooooooooooooooooooooooooooooooooooooooooooooo
    hows a 8th grader understand this?
    True or false.

    One side is true OR the other side is false. ||
    One side is true AND the other side is false. &&
    This is not false (it's true). !
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Bolean Operators hurt my head. (Trouble understanding) :(
    By Funcoot in forum C++ Programming
    Replies: 3
    Last Post: 01-20-2008, 07:42 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21