Search:

Type: Posts; User: newtocpp

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    4,986

    Thank you for the help. I think I have fixed...

    Thank you for the help.

    I think I have fixed it. I have found in the beej manual that if select returns 1 and recv returns 0 then the connection on the other side has been closed.

    What was...
  2. Replies
    3
    Views
    4,986

    How does select work when recv-ing?

    I am trying to learn socket programming but I am having trouble with partial recv-ing.

    I want to get all the text in yahoo.com/index.html.



    TCPClient client("www.yahoo.com",80);

    ...
  3. Replies
    2
    Views
    1,150

    There are some scripting languages such as lua...

    There are some scripting languages such as lua and python that will work with C++. I am not sure fully what you mean though.
  4. Replies
    9
    Views
    1,636

    Thank you Dark_Phoenix for the information as...

    Thank you Dark_Phoenix for the information as well as everyone else for their suggestions.

    As for the psu, I have found some 400-550 watt ones on newegg for as low as $20. The motherboard manual...
  5. Replies
    9
    Views
    1,636

    I am building a computer with spare parts

    I know the basics of how to do this because I have built one before; I am not asking how to do this from scratch.

    Someone was about to throw away a motherboard and videocard thinking that they...
  6. Replies
    5
    Views
    2,944

    Most C/C++ IDEs like devcpp or codeblocks can do...

    Most C/C++ IDEs like devcpp or codeblocks can do this for you.
  7. Replies
    5
    Views
    1,699

    For the original question I suggest you look for...

    For the original question I suggest you look for tutorials on operator overloading. Most of them use a vector class to teach you the concept. With this you can specify how the class is manipulated...
  8. Replies
    3
    Views
    2,218

    void BinaryTree::insertNode(Node*& n, int v) ...

    void BinaryTree::insertNode(Node*& n, int v)


    the *& was what the problem was. I am still unsure of what it exactly means.

    Also I am not sure if I am deleting all the nodes correctly. Would I...
  9. Replies
    5
    Views
    1,791

    If you read tutorial 1 again it shows you how to...

    If you read tutorial 1 again it shows you how to fix it, you left out some of the resizing code in that tutorial. His tutorials are cumulative.
  10. Thread: game design

    by newtocpp
    Replies
    7
    Views
    1,220

    google code search. Search for games and just...

    google code search. Search for games and just look and see how they implement their classes and divide up their files.
  11. Replies
    21
    Views
    1,967

    This is something I had saved in my hardrive cpp...

    This is something I had saved in my hardrive cpp reference code directory, I forgot where it came from. No windows code even needed.



    #include <iostream>
    #include <dirent.h>


    int main()
    {
  12. Replies
    3
    Views
    2,218

    I don't think displaying is the probem, inserting...

    I don't think displaying is the probem, inserting is.

    When root is passed in "insertNode(Node* n, int v);" as insertNode(root, i) the new keyword works only for the prototype "Node* n" but root...
  13. Replies
    3
    Views
    2,218

    Binary sort number arranging tree

    I am having trouble with this. I believe I have found where the problem is with the random couts in the functions. When a node is added it keeps getting added to root node. It won't become a new...
Results 1 to 13 of 13