Why doesn't my if statement work?

  • mniip
    18th Jan 2012 Developer 0 Permalink
    @jenn4 (View Post)
    anagram game:P
    anyways if you want a very-graphic game use Flash (or Flex(its more coplicated))
  • Videogamer555
    18th Jan 2012 Member 0 Permalink
    Speaking of flash, someone should port TPT to flash (SWF file) so that it can be embedded in web pages.
  • abczyx123987
    18th Jan 2012 Member 0 Permalink
    @Videogamer555 (View Post)
    Technically, you COULD still use "and" instead of "&&". (I wouldn't recommend it, since it's && everywhere you look)
    You just have to add #include <iso646.h>
    For instance, this compiles perfectly fine on my computer:
    #include <stdio.h>
    #include <iso646.h>

    int main()
    {
    int a = 0, b = 0;
    if (a == 0 and b == 0)
    printf("See, it works!");
    return 0;
    }