Computer user PSA: This does not equal that

  • http://www.facebook.com/adam.w.ackerman Adam Wade Ackerman

    User – “what does the != mean???”

    • Michael Browne

      “!=” is common syntax in several programming languages (C#, C++, and Java as well I believe) for “Does not equal” or “Not equal to”
      If “x != 2″
      Then cout “hello world”;
      end if;

      This would output “hello world” every time a value for “X” was inputted that was not two.

      **Disclaimer: I probably maid some syntax errors on the “cout” statement – I haven’t done C++ in years, but that’s irrelevant to the “!=” example

  • locar

    i think that Michael Browne didnt get the troll

  • http://www.facebook.com/profile.php?id=100001181887733 Rex Francis

    I know it’s C# and whatever else, but most people know the mathematical operator: ≠.