Navigation

    What the Daily WTF?

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    1. Home
    2. yoz_y
    Y
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    yoz_y

    @yoz_y

    0
    Reputation
    1
    Posts
    12
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    yoz_y Follow

    Best posts made by yoz_y

    This user hasn't posted anything yet.

    Latest posts made by yoz_y

    • Multilanguage Truth

      #define TRUE (1 == 1) <= ow my eyes

      #define boolean int <= what ?

      now in my college they took a different approach :

      (found in a C source file we had to work on on C classes)

      typedef enum{FAUX=0, Faux=0, faux=0, FALSE=0, False=0, false=0,
               VRAI=1, Vrai=1, vrai=1, TRUE=1,  True=1,  true=1} Booleen;

       

      Not only  they managed to handle the personal preferences of everybody.  They also happened to provide both French and English wordings.

      I find this a bit odd since they only defined Booleen and no Boolean. (not even speaking about BOOLEAN, booleen ...)

       

      posted in Side Bar WTF
      Y
      yoz_y