This is the mail archive of the cygwin-talk mailing list for the cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Why I love C++ so much.




  Because writing

  hex << setw (8) << setfill ('0') << ((uintptr_t)(x)) << dec << setfill (' ')

is just soooooo much easier and more self-consistent and less typing than

  "%08x", x



<grrrspit>

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]