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

Cain

Diabloii.Net Member
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.
 

Akira

Member
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.
 

Nword

Banned
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 :(
 
Top