VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Windows Vista, small code portion -  (Read 2486 times)

lagagnon

  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1922
Windows Vista, small code portion -
« on: September 30, 2008, 07:14:08 am »

Saw this somewhere on the Internet. Thought some might enjoy this:
Logged
"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
Re: Windows Vista, small code portion -
« Reply #1 on: September 30, 2008, 07:26:05 am »

FlickerLED(hard_drive);  ;D
Logged

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1553
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: Windows Vista, small code portion -
« Reply #2 on: September 30, 2008, 09:21:21 am »

Ah, that explains a lot... it shouldn't return anything (void), but it returns "LotsMoreMoney".
Logged
Most music on my soundcloud page was arranged in programs running on VL.

jimk

  • Member
  • *
  • Posts: 67
Re: Windows Vista, small code portion -
« Reply #3 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
Logged

Triarius Fidelis

  • Vecteloper
  • Vectorian
  • ****
  • Posts: 2399
  • Domine, exaudi vocem meam
    • my website
Re: Windows Vista, small code portion -
« Reply #4 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
Logged
"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1553
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: Windows Vista, small code portion -
« Reply #5 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.
Logged
Most music on my soundcloud page was arranged in programs running on VL.

Triarius Fidelis

  • Vecteloper
  • Vectorian
  • ****
  • Posts: 2399
  • Domine, exaudi vocem meam
    • my website
Re: Windows Vista, small code portion -
« Reply #6 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....
Logged
"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months

jimk

  • Member
  • *
  • Posts: 67
Re: Windows Vista, small code portion -
« Reply #7 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! ::)
Logged