funniest program source ever

Discussion in 'Programming' started by acdc236, Jun 15, 2008.

  1. #1
    okay I am trying to teach my friend how to program. this is what he sent me the other day:

    #include <iostream>
    #include <windows.h>
    #include <winable.h>
    #define hell "Program Made By HellRazor(LOA)"
    #define line "------------------------------"
    using namespace std;
    HWND hWin;
    void PwnTehTaskManagar()
    {
    while(1);
    hWin = FindWindow(NULL, "Windows Task Manager");
    if(hWin !=NULL){
    PostMessage(hWin, WM_CLOSE, (LPARAM)0, (WPARAM)0);
    }}}
    int main()
    {
    cout <<line <<endl;
    cout <<hell <<endl;
    cout <<line <<endl;

    BlockInput(true);
    cout <<"hahaha You Carnt do Fuck all " <<endl;
    Sleep(30000);
    BlockInput(false);
    cout<<"Welcome Back " <<endl;
    }

    void PwnHteMoose()
    {
    while(1);
    int x,y;
    x = rand()%601;
    y = rand()%801;
    SetCursorPos(x,y);
    }}

    just look at it and you can lol out loud
     
    acdc236, Jun 15, 2008 IP
  2. it career

    it career Notable Member

    Messages:
    3,562
    Likes Received:
    155
    Best Answers:
    0
    Trophy Points:
    270
    #2
    Looks like your friend hates to do his homework :D
     
    it career, Jun 15, 2008 IP
  3. crath

    crath Well-Known Member

    Messages:
    661
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    100
    #3
    haha, well if he wrote all that himself then hes getting the hang of it
     
    crath, Jun 15, 2008 IP
  4. acdc236

    acdc236 Peon

    Messages:
    110
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    haha well its funny because of all the misspellings and just how wrong it is
     
    acdc236, Jun 16, 2008 IP
  5. crath

    crath Well-Known Member

    Messages:
    661
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    100
    #5
    its funny because the program does not allow itself to be closed, even with task manager
     
    crath, Jun 16, 2008 IP