1. Club Bollywood is my favorite radio channel.

  2. Finally decided to get off my fatass and go to the gym..

    I was really afraid (or more like ashamed) because I didn't know how to work any of the equipment and that people will laugh at my fatass.. Incredibly enough, I received lots tips and support..

    If you are afraid to go to the gym, don't be. It was a really nice experience and I'm looking forward to going again.

    Spoiler: Show
    But everything hurts.. It hurts so bad

  3. Code:
            if (a < b)
                    return -1;
            else if (a == b)
                    return 0;
            else if (a > b)
                    return 0;
    Took me ages to find out why qsort wasn't properly sorting stuff.
    Code:
            if (a < b)
                    return -1;
            else
                    return 0;
    Better?

  4. Code:
            if (a < b)
                    return -1;
            else
                    return 0;
    Better?
    Getting rid of those nightmarish chained else ifs sure makes it better, just no idea if it solves the sorting. Depends on what he's doing with the -1s and 0s.

  5. This is what he is doing and what I've done.
    Code:
    if (milk < shake) return milk;
            else if (milk = shake) return milkshake;
            else if (milk > shake) return milkshake;
    Code:
    if (milk < shake) return milk;
            else return milkshake;
    Better?
    No point in calculating, or rather, checking multiple stuff, when you expect same result.
    You just check that first thing, otherwise the result is known.

  6. This is what he is doing and what I've done.


    No point in calculating, or rather, checking multiple stuff, when you expect same result.
    You just check that first thing, otherwise the result is known.
    The fact your code is much better optimized doesn't means it (or his original code, which he stated wasn't doing the sorting right) solves what he was trying to do.

  7. Came to get rep with Tillers,got exalted with farmer Fung guy lol

  8. Code:
            if (a < b)
                    return -1;
            else
                    return 0;
    Better?
    No, the second else if needed to return 1 not 0. I had to specifically return -1, 0, and 1 in this case. I could have removed the last else if since if the if and else if failed it would return 1.

    I could have just done

    return *(int *)a - *(int *)b;

    But the professor required -1, 0, and 1

  9. No, the second else if needed to return 1 not 0. I had to specifically return -1, 0, and 1 in this case. I could have removed the last else if since if the if and else if failed it would return 1.

    I could have just done

    return *(int *)a - *(int *)b;

    But the professor required -1, 0, and 1
    Learning first programming lenguage sure is fun ....
    Next semester =>
    Spoiler: Show

  10. http://tassadaronline.blogspot.se/20...incoming.html#

    Free blizzcon stream for those who wants to watch :D


    https://www.fightforthealliance.com


    WHAT THE **** IS THIS NEW GAME. OVERWATCH? WTH BLIZZ

  11. It's a Hearthstone expansion - they've already datamined a ton of stuff related to it.
    Guess we were both wrong....still dont know what Eye of azshara is....Overwatch looks amazing tho looks like team fortress 3 on staroids

  12. Natox's Avatar
    Natox
    Guest
    Guess we were both wrong....still dont know what Eye of azshara is....Overwatch looks amazing tho looks like team fortress 3 on staroids
    Yep, very weird that they filed for an IP and didn't use it. Might have changed the name for Goblins vs. Gnomes but who knows.

    Overwatch looks alright, problem is it is just like TF2 with a few extra fun things. Seems like it's one-hit-kill though which is a good thing - hope they don't do hats too...!

  13. Yep, very weird that they filed for an IP and didn't use it. Might have changed the name for Goblins vs. Gnomes but who knows.

    Overwatch looks alright, problem is it is just like TF2 with a few extra fun things. Seems like it's one-hit-kill though which is a good thing - hope they don't do hats too...!
    I think 100% its a wow expansion (And the one iv always wanted)...But they are not gonna show it yet.....if there going for yearly expansions...i could see them doing Blizzcon earlier next year and announceing it there

    edited: As i thought about it....What blizzard may be doing is trademarking it earlier so people forget about it later, They would prolly troll and file another trademark close to blizzcon (like they always do) they all of a sudden we see Eye of azshara on the screen

  14. WHAT THE **** IS THIS NEW GAME. OVERWATCH? WTH BLIZZ
    What did you expect? For Blizzard to not yet again come up with a product that either is just an expansion pack or a blatant copy of something else?

  15. What did you expect? For Blizzard to not yet again come up with a product that either is just an expansion pack or a blatant copy of something else?
    When Chris metzen was first talking about a new game, it sounded like a new mmorpg or a rpg game because he said that we would go around and explore a new world. Nobody thought it would be a damn tf2 copy.

    I've literally lost all hope in blizzard. They didn't even take their time to get us a new Diablo 3 expansion. UGH....







    This gear is from the warcraft movie

    Durotan
    Spoiler: Show


    Anduin Lothar

    Spoiler: Show

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •