I never noticed this before.

This is a discussion on I never noticed this before. within the Windows Programming forums, part of the Platform Specific Boards category; Originally posted by shtarker I think he is refering to Sorensen kindly pointing out the invalidity of his argument: "A ...

  1. #16
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Originally posted by shtarker
    I think he is refering to Sorensen kindly pointing out the invalidity of his argument: "A logical statement (such as 'if','while','for', ect.), I beleive, will take anything '<=0' as a false... "
    Well Sorenesen is correct.........and he isnt the first person to complain about haX0r talk on this board....

    Anyway......if he doesnt agree....try

    Code:
    if(-1)cout << "Hello World";
    If anything under 0 is a false then "Hello World" will not appear on screen.........which is not the case....

    false == 0

    true != false

  2. #17
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    Oh ok i think my professor went over that a few years ago lol but i dont remember. But that is a good thing to know.
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

  3. #18
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065

    Re: Lolz...

    Originally posted by minime6696
    I should not even post very much for my pure RAGE will get me kicked off of this board...
    Is that Dean? Dean-o! How's the 4x4 doing, Buddy?

  4. #19
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    That most certainly is NOT Dean

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting Noticed - hypothetical
    By MadCow257 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 07-09-2005, 10:41 PM
  2. Ultra chess engine contest
    By yodacpp in forum Projects and Job Recruitment
    Replies: 8
    Last Post: 11-21-2004, 06:58 AM
  3. The DJGPP Syndrome... has anyone noticed it?
    By minime6696 in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 11-27-2002, 07:00 AM
  4. Have you noticed a change in attitude?
    By incognito in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 05-26-2002, 09:41 PM
  5. Characters. Funny looking ones
    By Wiz_Nil in forum C++ Programming
    Replies: 8
    Last Post: 02-25-2002, 11:33 AM

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