Search:

Type: Posts; User: Monkeymagic

Search: Search took 0.01 seconds.

  1. To give a different perspective, I started...

    To give a different perspective, I started learning programming when I was about 10 using a mac program called HyperCard. This was a very simple program and programming language (much simpler that...
  2. Replies
    8
    Views
    3,470

    I agree. Thanks for the answers!

    I agree. Thanks for the answers!
  3. Replies
    8
    Views
    3,470

    Thanks for the answers. I wasn't sure if a lot of...

    Thanks for the answers. I wasn't sure if a lot of the stuff I wanted was even possible.

    1. Lisp is great. Its unfortunate that c macros aren't as good apparently

    2. The main reason I wanted...
  4. Replies
    8
    Views
    3,470

    Templates and Macros plus more...

    I have a couple of questions about various things that have had me puzzled. Not that I really need to know, but I'm just curious, thats all... :)

    1. It is possible to write a macro called JOIN...
  5. Thanks for that. The main problem I am having is...

    Thanks for that. The main problem I am having is that I don't want to copy OtherClass when I don't need to (because I'm assuming it is a large class). But in your code in the setOtherClass method,...
  6. Replies
    18
    Views
    1,519

    Your nearly right. The correct code is (green for...

    Your nearly right. The correct code is (green for added, red for deleted)


    template <class t>, arguments>
    class somec {
    public:
    somec(arguments) { .. }
    t data;
    };
    somec <char> *tmp =...
  7. Yes I thought something like that would happed...

    Yes I thought something like that would happed (although in another bit of code I did that and it compiled an ran perfectly; probably luck that the stack wasn't wiped over or something.

    So there...
  8. Doesn't delete &oc delete it? Oh and...

    Doesn't
    delete &oc delete it?

    Oh and thanks SlyMaelstrom for the sample code but I understand that part. The problem I'm having is with the using the function. Could you show me how you do it?
  9. > The most commonly accepted way of passing an...

    > The most commonly accepted way of passing an object is to use a constant reference
    So I should probably stick with the last two then. But is my code for the last two correct?
  10. References vs Pointer vs copying and storing stuff in classes

    Hi,
    I'm having a bit of trouble deciding on which way I should pass objects to other objects. There appears to be 3 main ways of doing it: pass by reference, pass by value and pass by pointer. I...
  11. Replies
    24
    Views
    2,502

    The problem might be that you choose a really...

    The problem might be that you choose a really hard game to start with. Why don't you try to do a pick a path kind of game? Their easier, can get very big but are playable after a very small amout of...
  12. Replies
    4
    Views
    7,282

    Yay its working!!! Thanks Anchient Dragon as...

    Yay its working!!!
    Thanks Anchient Dragon as although your bat file didn't fix the problem, it lead me on the right direction to find the problem. The actual problem was that the Microsoft Platform...
  13. Replies
    4
    Views
    7,282

    I tried reinstalling the boost libraries using...

    I tried reinstalling the boost libraries using that tool (i didn't use that last time). To build it, i placed BJam inside the c:/windows directory and ran in the command prompt:

    bjam "-sTOOLS =...
  14. Replies
    4
    Views
    7,282

    Boost thread not working

    Hi

    I am having trouble with the thread library in the boost package. After I installed it and set up the directories (I am using Visual c++ express 2005 btw) I tried this test program:

    ...
Results 1 to 14 of 14