CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: VomitHatSteve

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    1,331

    Re: iTunes closing sockets

    I'm not sure how much of it is iTunes and how much of it is the Rendezvous/Bonjour protocol.

    iTunes does use port connections for it's music sharing. Songs and libraries are shared via the DAAP...
  2. Replies
    2
    Views
    1,331

    iTunes closing sockets

    So I'm playing around with a script that will interact with iTunes' music sharing features, and I've discovered some interesting (read, "really obnoxious") behavior.

    iTunes uses Rendezvous DNS...
  3. Re: The "last one to post on this thread wins" Thread

    So who's going to verify the winner of this thread?
  4. Replies
    1
    Views
    1,249

    Re: Trouble comparing two doubles

    Further info:

    I assigned the two doubles to specific numbers:
    Double absObsAngle = Math.abs(obsAngle);
    Double otherNumber = Math.abs(Math.asin(allObs[i].getRadius())/obsDist) + (Math.PI / 16);
    ...
  5. Replies
    1
    Views
    1,249

    Trouble comparing two doubles

    I'm working on a school project where I need to create the AI for a computer player in an Asteroids type game. The short version is that the player selects a location on the game map and tries to...
  6. Re: Child Does Not See Parent Method

    I thought that he wanted to inherit the parent's functionality for the method? That means the overloaded non-virtual call to the method will simply use the parent's version that he wanted all along....
  7. Replies
    115
    Views
    16,292

    Re: Ruin the last poster's wish!

    Granted. you create a paradox, and the universe ends.

    I wish we had the universe back after some jerk destroyed it :D
  8. Replies
    13
    Views
    1,124

    Re: C++ Noob Programmer Error

    Just for more follow up information, here's an explanation of why this code is going wrong:
    Java treats "shutdown -s -t 99 -m //192.168.2." + i as concatenation. Whereas C++ treats it as...
  9. Replies
    115
    Views
    16,292

    Re: Ruin the last poster's wish!

    Granted, but your body is now in proportion to what it would be if your head was the size of the earth.

    I wish I could establish a colony on another planet.
  10. Replies
    94
    Views
    11,807

    Re: 'amazing fact'

    amazing fact #70 or so: The internet is chock full of valuable information and factiods such as this thread provides.
  11. Re: artificial intelligence & algorithm design problems

    I recommend going down to the patent office and picking up a copy of patent #1 (a time machine, of course). Build it, and go to the future to pick up all your AI needs!
  12. Replies
    94
    Views
    11,807

    Re: 'amazing fact'

    Amazing fact # 65: The probability that Nazis and/or Goodwin's law will come up in this thread is rapidly approaching 1.
  13. Replies
    12
    Views
    1,179

    Re: problem with c

    For your first problem, you could read in ints instead of chars. This would force the user to space them out, it would also make it so you don't have deal with all that c-48 inconvenience. The...
  14. Replies
    4
    Views
    982

    Re: comparing pointers

    If there's a possibility that your nodes are NULL, you will need to add logic that makes sure they aren't.

    To expand on your first example:
    if (temp1a->value > temp2a->value)
    could become:...
  15. Replies
    115
    Views
    16,292

    Re: Ruin the last poster's wish!

    Granted, but the rest of the world will begin watching American football instead of soccer/football

    I wish I knew exactly when the zombie apocolypse was going to occur.
  16. Replies
    7
    Views
    958

    Re: How count occurencies in a Struct

    Oh! That sounds like you want to use regular expressions (regex). I haven't worked with C++ regex, so someone else will have to recommend a library for you.

    For more info on regex:...
  17. Re: A List problem so bad, I had to sign up for a forum to find an answer.

    Fair enough. Still, I think it's fun to dabble with them!
  18. Re: A List problem so bad, I had to sign up for a forum to find an answer.

    That was it. Thank you. I can't believe I made such a dumb mistake!


    The zombify function simply calls the Zombie copy constructor passing in the Human in question.
    I actually tend to prefer...
  19. Replies
    115
    Views
    16,292

    Re: Ruin the last poster's wish!

    Granted, but her jealous (and now poor) mobster husband knows it.

    I wish I had more time to finish my projects.
  20. Re: A List problem so bad, I had to sign up for a forum to find an answer.

    Alright, here's some of the actual code.

    from room.cpp (Location is a virtual class, Room extends it)
    Here's where the code starts (there's stuff that leads up to this point, but it's all running...
  21. Replies
    7
    Views
    958

    Re: How count occurencies in a Struct

    I would think that strcmp would be the easiest way to compare your strings here.

    You'd have to be sure that both info and myWord are NULL terminated (myWord[10] == 0)

    I assume you want to...
  22. Replies
    6
    Views
    870

    Re: Happy Easter everyone!

    For those who don't celebrate Easter, happy Pretty Yellow Flower Day!
  23. A List problem so bad, I had to sign up for a forum to find an answer.

    Hi. I'm new to this forum. I've always been able to find answers to my problems by looking at the answers of other people with similar bugs, but my current problem is so weird that I couldn't find...
Results 1 to 23 of 23





Click Here to Expand Forum to Full Width

Featured