Search:

Type: Posts; User: balazsbotond

Search: Search took 0.01 seconds.

  1. Transport Tycoon was made by a single person (and...

    Transport Tycoon was made by a single person (and an artist who did the graphics). A very sophisticated game written in pure assembly. It's one of my all-time favourites. Back in high school I could...
  2. Replies
    9
    Views
    7,195

    Finally my little program is running without...

    Finally my little program is running without errors. Thank you for all the advice, you guys are really helpful. I'm uploading the code, so if you have time, please have a look at it. I would welcome...
  3. Replies
    9
    Views
    7,195

    Elysia, Thanks for your reply. I searched...

    Elysia,
    Thanks for your reply.
    I searched Wikipedia for tree traversal and found my algorithm there. I think what you are (and Perspective has been) suggesting is a level order traversal, but it...
  4. Replies
    9
    Views
    7,195

    Oh thanks. I'm a bit tired (it's 6am here - I...

    Oh thanks. I'm a bit tired (it's 6am here - I think I'm getting addicted to programming :) ).
  5. Replies
    9
    Views
    7,195

    Perspective, thanks for your advice, it helped a...

    Perspective, thanks for your advice, it helped a lot.

    I'm trying to do a preorder traversal on my tree and write a bool value and the node text into the file in the order of the traversal. It...
  6. Replies
    9
    Views
    7,195

    Saving binary tree data to disk

    I've made an implementation of this program using a binary tree. It works fine, but I'd like to save my decision tree to the disk because I don't want to lose the result of my "teaching". Do I have...
  7. Replies
    132
    Views
    310,914

    Sticky: Operating system: 32-bit Windows Compiler:...

    Operating system: 32-bit Windows
    Compiler: Dev-C++ & mingw
    Graphics Library: none
    Other Libraries:
    Description: Hangman

    I have made a simple hangman game - my first program, not counting...
  8. Replies
    6
    Views
    1,297

    MacGyver, I'm trying to make a (very simple) GUI...

    MacGyver,
    I'm trying to make a (very simple) GUI for one of my existing programs, and if I find it too hard, I'll stick with the console of course. And thanks for your advice :)
  9. Replies
    6
    Views
    1,297

    Thx, this worked. :)

    Thx, this worked. :)
  10. Replies
    6
    Views
    1,297

    What a dumb idiot I am. Including windows.h...

    What a dumb idiot I am. Including windows.h solved it.

    But YET it throws another syntax error at the line with GROUPBOX. Really sorry for these stupid questions, I'm quite new to programming.
  11. Replies
    6
    Views
    1,297

    Lamest .rc problem

    I know this is lame, but I've spent the whole night searching for an answer, and found nothing (maybe the problem's with me?...).

    Okay, so here it is:


    IDD_ABOUT DIALOG DISCARDABLE 0, 0, 239,...
  12. Thread: & sign

    by balazsbotond
    Replies
    9
    Views
    1,624

    Thanks!

    Thanks!
  13. Thread: & sign

    by balazsbotond
    Replies
    9
    Views
    1,624

    & sign

    struct Node;
    typedef Node *Node_ptr;

    struct Node {
    char word[MAX_WORD_LENGTH];
    Node_ptr ptr_to_next_node;
    };

    void delete_node(Node_ptr &a_list, char a_word[]);
  14. Thread: cin.get()

    by balazsbotond
    Replies
    3
    Views
    988

    Thank you, guys, this worked.

    Thank you, guys, this worked.
  15. Thread: cin.get()

    by balazsbotond
    Replies
    3
    Views
    988

    cin.get()

    Hi,

    1. if you easily get annoyed at stupid questions, don't read on :)

    2. I'm using dev-c++ + mingw. I was trying to keep the windows of my console apps open using cin.get(); but in most of the...
  16. And I can simplify it even more because n choose...

    And I can simplify it even more because n choose k equals n choose n-k, so eg. 100 choose 97 = 100 choose 3.
  17. I know, but it still radically reduces the bits I...

    I know, but it still radically reduces the bits I need to do the calculation.
  18. Thx

    Rashakil Fol,
    thanks. That's a really cool solution.

    Thanks to the others too!
  19. Ok, this was really lame. Product should be...

    Ok, this was really lame. Product should be unsigned long int too. I've done that but it still doesn't work.
  20. Binomial coefficient - a lamer's question

    Hi all,

    I'm quite new to programming, and trying to write a c++ program that calculates the binomial coefficient of two numbers. This can be used for calculating the probability of, for example,...
Results 1 to 20 of 20