Search:

Type: Posts; User: samGwilliam

Search: Search took 0.04 seconds.

  1. Replies
    21
    Views
    16,749

    I must admit that my coding style is a hybrid of...

    I must admit that my coding style is a hybrid of C and C++. I always use new and delete, but I've never bothered with templates or try/catch and I pass by reference the C way. I'm still in the habit...
  2. Replies
    21
    Views
    16,749

    Operator, yes. That's what I meant to say.

    Operator, yes. That's what I meant to say.
  3. Replies
    21
    Views
    16,749

    How could new call malloc? New is a keyword, not...

    How could new call malloc? New is a keyword, not a function (like sizeof), surely? At least it is on my compiler, though it could be different on others.
  4. Replies
    21
    Views
    16,749

    As you're using C++, shouldn't you be using new?...

    As you're using C++, shouldn't you be using new? I thought malloc was made essentially obsolete with new - but I could be wrong, thought I never use malloc anymore.
Results 1 to 4 of 4