VectorLinux

The Vectorian Lounge => The Lounge => Topic started by: lagagnon on September 30, 2008, 07:14:08 am

Title: Windows Vista, small code portion -
Post by: lagagnon on September 30, 2008, 07:14:08 am
Saw this somewhere on the Internet. Thought some might enjoy this:
Title: Re: Windows Vista, small code portion -
Post by: wcs on September 30, 2008, 07:26:05 am
FlickerLED(hard_drive);  ;D
Title: Re: Windows Vista, small code portion -
Post by: The Headacher on September 30, 2008, 09:21:21 am
Ah, that explains a lot... it shouldn't return anything (void), but it returns "LotsMoreMoney".
Title: Re: Windows Vista, small code portion -
Post by: jimk on September 30, 2008, 12:13:46 pm
Thats not a small code portion-thats about the whole thing!

It took me a bit to get the "//printf("welcome to windows 2000")

Too funny  ;D
Title: Re: Windows Vista, small code portion -
Post by: Triarius Fidelis on September 30, 2008, 12:15:30 pm
Ah, that explains a lot... it shouldn't return anything (void), but it returns "LotsMoreMoney".

return value inconsistent w/ signature
Title: Re: Windows Vista, small code portion -
Post by: The Headacher on September 30, 2008, 02:16:51 pm
Quote
It took me a bit to get the "//printf("welcome to windows 2000")
You know I hadn't even noticed those? Guess I'm used to ignoring commented lines now... weird.
Title: Re: Windows Vista, small code portion -
Post by: Triarius Fidelis on October 01, 2008, 03:01:19 pm
I'm confused. Is this supposed to be Java or C++? There's a Java-style class declaration up at the top. But Java does not allow functions outside a class. etc....
Title: Re: Windows Vista, small code portion -
Post by: jimk on October 02, 2008, 06:15:23 am
Quote
I'm confused. Is this supposed to be Java or C++? There's a Java-style class declaration up at the top. But Java does not allow functions outside a class. etc....

Well, that explains it.  That is why Windows machines crash so much! ::)