Search:

Type: Posts; User: ChaosEngine

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    4,665

    RTFM?...

    RTFM? :)

    and yes I know that's for 2003, but if you can't figure out how to apply that to 2005, you should probably start with something simpler than SDL :D
  2. Scott Meyers talks about this exact problem in...

    Scott Meyers talks about this exact problem in "More Effective C++" (item 31). Unfortunately, I don't think he actually manages to solve it, but at least you could head to your local library and have...
  3. Replies
    17
    Views
    1,788

    one way you could do it would be to use the...

    one way you could do it would be to use the boost.serialisation library and simply save the state of each class that has an option.

    for instance, let's assume you're making a game, and you have...
  4. Replies
    23
    Views
    2,668

    use the standard library. class card { ...

    use the standard library.



    class card
    {
    enum Suite
    {
    Spades,
    Hearts,
  5. Replies
    3
    Views
    852

    does it have to be in C? The best serial...

    does it have to be in C? The best serial implementation I've ever used is pythons pyserial.
  6. Replies
    37
    Views
    4,197

    your loss, bro. You haven't "gotten under my...

    your loss, bro. You haven't "gotten under my skin", I was trying to help you. It's highly unlikely I'll ever have to deal with your code, so feel free to immerse yourself in all the misery of...
  7. Thread: newb help

    by ChaosEngine
    Replies
    20
    Views
    1,588

    that looks pretty good. have you tested it?

    that looks pretty good. have you tested it?
  8. Replies
    37
    Views
    4,197

    Really? let's have a look at a piece of code...

    Really? let's have a look at a piece of code then.


    void SomeFunc(void)
    {
    int *x = new int[100];

    SomeOtherFunc(x);
  9. Replies
    17
    Views
    1,788

    why do you need an "Options" class at all? Such a...

    why do you need an "Options" class at all? Such a class has low coherence (it contains data relating to many functional areas) and high coupling (it introduces a dependency between unrelated areas)....
  10. as King Mir said, that is not a correct use of...

    as King Mir said, that is not a correct use of auto_ptr. the functionality you want is provided by std::vector
  11. Replies
    17
    Views
    1,788

    as long as you're in a single-threaded...

    as long as you're in a single-threaded environment, singleton is fine. If you're in a multi-threaded environment, singleton can cause problems.
  12. Replies
    1
    Views
    1,317

    bah! no support for New Zealand.

    bah! no support for New Zealand.
  13. Sorry but I've read C++ for Dummies (one of my...

    Sorry but I've read C++ for Dummies (one of my co-workers bought it). It's a terrible book. As Daved says, it teaches old "C style" C++. Avoid like the plague.
  14. Replies
    27
    Views
    2,573

    I'm guessing that was probably a joke, since most...

    I'm guessing that was probably a joke, since most Irish people wouldn't actually be able to understand a full movie "as gaeilge".

    Anyway, for my $13 movie ticket, Transformers was ....ok.

    The...
  15. Replies
    37
    Views
    4,197

    This line neatly illustrates the difference...

    This line neatly illustrates the difference between coding for fun and coding for work. I wrote my own GUI library in a job once too. It was really interesting and great fun. But I wasn't allowed...
  16. If you don't care, why are you posting? :p ...

    If you don't care, why are you posting? :p

    Well, Mario posted an explanation of a fact (i.e. that Libby was convicted of perjury).

    There's nothing to respond to with your allegation. You've...
  17. Replies
    8
    Views
    1,206

    meh, too much like work. use a stringstream.

    meh, too much like work. use a stringstream.
  18. Replies
    10
    Views
    1,409

    why?

    why?
  19. I'm not sure it was either. But the point remains...

    I'm not sure it was either. But the point remains that, regardless of what went before, Libby did perjure himself.

    Mario F. made the point in this point and I just haven't seen a response to that...
  20. Replies
    8
    Views
    1,206

    do you want the numbers as strings or integers? ...

    do you want the numbers as strings or integers?

    i.e. array[0] = 103 or array[0] = "103"

    I'd look at the stringstream class
  21. I'm not sure what you mean by "outside of the...

    I'm not sure what you mean by "outside of the Libby case".

    If you mean, do I believe Libby prejured himself and committed a crime? Then the answer is yes, all the evidence would seem to suggest...
  22. MacGyver, I'd like you to answer one question,...

    MacGyver, I'd like you to answer one question, with a simple yes or no answer.

    Libby was accused of perjury and found guilty. Do you believe he did not perjure himself and was thus innocent?
  23. Replies
    4
    Views
    2,299

    ok, I've had a look into this. compiling the...

    ok, I've had a look into this.
    compiling the attached file initially, I get the same runtime access violation.

    Having a quick scout around the web, I found this page.

    When I set the /EHa...
  24. Replies
    4
    Views
    2,299

    Are you sure about that? I know it can catch an...

    Are you sure about that? I know it can catch an exception, but an access violation? Surely that would cause undefined behaviour, and the program will fall over.

    I don't see why you would test for...
  25. Replies
    13
    Views
    2,015

    Horses for courses. There's no way I'd use C++ to...

    Horses for courses. There's no way I'd use C++ to build a web-based commerce server. Equally there's no way I'd use java to build a cutting edge 3d engine or a large high performance system.
    ...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4