Latest Diablo 3 News
DiabloWiki Updates
Support the site! Become a Diablo: IncGamers PAL - Remove ads and more!

You know it's been a long day when...

Discussion in 'Off-Topic' started by Cain, Feb 10, 2004.

  1. Cain

    Cain IncGamers Member

    Joined:
    Jun 23, 2003
    Messages:
    1,014
    Likes Received:
    0
    Trophy Points:
    255
    You know it's been a long day when...

    I haven't been around much due to school, but here's snipit of code I produced today and actually expected it to work:

    #define MAX_CLIENTS 9

    int nRegClients = MAX_CLIENTS

    if(nRegClients < MAX_CLIENTS)
    add new client
    else
    no room

    For some reason I couldn't figure out why it was always false. I guess it's time to take a break when I start writing code like that.
     
  2. Akira

    Akira Member

    Joined:
    Jun 22, 2003
    Messages:
    1,381
    Likes Received:
    0
    Trophy Points:
    120
    i'm not sure what language you're using but i definately saw the error, so i get your point. Working with code for long amounts of time will do that to your brain.
     
  3. Nword

    Nword Banned

    Joined:
    Jun 26, 2003
    Messages:
    711
    Likes Received:
    0
    Trophy Points:
    0
    School kills the brain

    Today we had a fire somewhere in the athletic part of the building, so of course they sent all 3000 people in the building to wait outside in the 35 degree weather; with 20mph gusts of wind or so...

    And my 2nd hour portable classroom was about 40 degrees F as well... the sub on friday turned the air conditioning on for some reason :teeth:

    Thank god my house is warm....

    Nor can I really make much sense out of that code, o well

    Edit: now i can see the illogic of the coding... my poor half thawed brain :(
     
  4. AeroJonesy

    AeroJonesy IncGamers Member

    Joined:
    Jun 22, 2003
    Messages:
    12,940
    Likes Received:
    2
    Trophy Points:
    467
    You know it's a long day when you leave for class at 9:15 and get home at 9:30.
     
  5. Akira

    Akira Member

    Joined:
    Jun 22, 2003
    Messages:
    1,381
    Likes Received:
    0
    Trophy Points:
    120
    i hope you leave that ambiguous.
     

Share This Page