Search:

Type: Posts; User: iMalc

Search: Search took 0.04 seconds.

  1. You're right, I somehow totally missed that. that...

    You're right, I somehow totally missed that. that happens when it is something you would pretty much never expect.
    Edit: Oh I see why I missed that, I was looking at the post directly above mine.
    ...
  2. I had no intention of implying it was declared...

    I had no intention of implying it was declared anywhere in particular, or that it is in any way better to use BOOL over bool. But if one is going to use the commonly defined BOOL, TRUE, and FALSE...
  3. This would be my suggestion printf("The value...

    This would be my suggestion
    printf("The value is: %s\n", ptr_mystruct->pboolean ? "true" : "false");

    I bring this up often in code reviews: Boolean values should not be compared against true. All...
Results 1 to 3 of 3