Search:

Type: Posts; User: clayne

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    2,835

    You're right, it's a site about learning - not a...

    You're right, it's a site about learning - not a site about legalities.

    Get off the morality play - this is a programming forum not an ethics one.
  2. Replies
    14
    Views
    2,835

    What you're asking for is called a watchpoint....

    What you're asking for is called a watchpoint. Look for availability within your debugger. Since I'm assuming this is some windows thing, Ollydbg will do the job. Here's an example of how someone...
  3. Replies
    7
    Views
    3,441

    Which is why, as someone mentioned previously,...

    Which is why, as someone mentioned previously, one should just pre-shuffle the array, decrement a last index, and grab the last element.
  4. Replies
    13
    Views
    9,144

    Also, it's standard convention to use stderr for...

    Also, it's standard convention to use stderr for debug/warning/alert/etc. output as it's a dedicated output stream and it's unbuffered by default. Use fprintf().
  5. Replies
    6
    Views
    2,177

    http://en.wikipedia.org/wiki/Include_guard

    http://en.wikipedia.org/wiki/Include_guard
  6. Replies
    18
    Views
    2,808

    If you must use the same output stream, and you...

    If you must use the same output stream, and you want to stop interleaving, you can serialize them via a global mutex and use fflush():



    /* body of individual thread */
    ...
Results 1 to 6 of 6