Home IT Humor Geeky Pics Computer User PSA: This Does Not Equal That [info]

6 COMMENTS

    • “!=” 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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.