Results 1 to 8 of 8
  1. #1
    ɑrtemis's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    arun's urethra
    Posts
    260
    Reputation
    24
    Thanks
    17
    My Mood
    Amused

    [share] embarrassing errors?

    my most recent one

    [Highlight=C++]int main()
    {
    Square Square1;
    int x,y;
    cout << "Set the x,y of the square\n";
    cin >> x >> y;
    Square1.SetX(x);
    Square1.SetY(x); //
    Square1.isSquare();

    return 0;
    }[/Highlight]

    couldnt figure out why when i entered x and y and they were different, isSquare was still returning true, then dabid told me, felt like an idiot.

  2. #2
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Well i dont really have code to post but
    My menu kept crashing and took me 30 minutes to see i forgot to reset the font /fp
    not really an error but epic fail

  3. #3
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    Quote Originally Posted by whit View Post
    Well i dont really have code to post but
    My menu kept crashing and took me 30 minutes to see i forgot to reset the font /fp
    not really an error but epic fail
    Oh oh, similar problem here.

    I was trying to call DrawTextA of ID3DXFont without creating a font. :T

  4. #4
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by Void View Post
    Oh oh, similar problem here.

    I was trying to call DrawTextA of ID3DXFont without creating a font. :T

    Yea i hate it when stuff like that happens. It dont you a compiler error or nothing, you gotta debug it yourself

  5. #5
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    Yeh... that's pretty dumb.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  6. #6
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    Quote Originally Posted by why06 View Post
    Yeh... that's pretty dumb.
    Ohai Mr.INeverMadeAStupidError. o:

  7. The Following User Says Thank You to Void For This Useful Post:

    whit (02-08-2011)

  8. #7
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Ohh, Kevin and myself have plenty of those (him in particular ) Just last night he asked me to help him with a WebClient exception. Creating the webclient before using it turns out to not be a half bad idea

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  9. #8
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    Quote Originally Posted by Void View Post
    Ohai Mr.INeverMadeAStupidError. o:
    Haters are gonna hate. But a player won't be affected by the hate, gotta play it straight while them other sucker niggas get irate.
    Last edited by why06; 02-09-2011 at 06:49 AM.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower