public inbox for cygwin-talk@cygwin.com
 help / color / mirror / Atom feed
From: "Dave Korn" <dave.korn@artimi.com>
To: "'to a child with c++,
	every problem looks like you need a pseudo-operator'"
	<cygwin-talk@cygwin.com>
Subject: Why I love C++ so much.
Date: Wed, 20 Feb 2008 20:15:00 -0000	[thread overview]
Message-ID: <00b001c873fd$58137750$2e08a8c0@CAM.ARTIMI.COM> (raw)




  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....

             reply	other threads:[~2008-02-20 20:15 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-20 20:15 Dave Korn [this message]
2008-02-20 20:52 ` Brian Dessent
2008-02-20 21:45   ` Dave Korn
2008-02-21  1:20 ` Gary R. Van Sickle
2008-02-21 10:10   ` Dave Korn
2008-02-21 12:10     ` Warren Young
2008-02-21  6:32 ` Václav Haisman
2008-02-21 10:28   ` Corinna Vinschen
2008-02-21 12:27     ` Warren Young
2008-02-21 13:49       ` Corinna Vinschen
2008-02-22  8:35         ` Danilo Turina
2008-02-22 16:14           ` Igor Peshansky
2008-02-22 16:20             ` Dave Korn
2008-02-22 16:33               ` Igor Peshansky
2008-02-22 16:39                 ` Dave Korn
2008-02-22 17:04                   ` Dave Korn
2008-02-22  9:11         ` Warren Young
2008-02-22  9:47           ` Michael Schaap
2008-02-22 13:05             ` Warren Young
2008-02-22 16:16             ` Igor Peshansky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00b001c873fd$58137750$2e08a8c0@CAM.ARTIMI.COM' \
    --to=dave.korn@artimi.com \
    --cc=cygwin-talk@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).