Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: <luis_solis@terra.es>
To: <gdb@sources.redhat.com>
Subject: c++ stl containers
Date: Sat, 10 Jan 2004 21:42:00 -0000	[thread overview]
Message-ID: <002101c3d7c2$3c0d7cd0$41ca2951@luiscasa> (raw)

Hi
I'd like look at the values of a stl container, but I only acces the
direction, not the values, ie
vector<float> xy(2); xy[0]=2.; xy[1]=3.;
xy[0]=xy[0]+xy[1]+ some_function();
How I could look xy[0] value, or all the values of xy
Thanks
Luis


             reply	other threads:[~2004-01-10 21:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-10 21:42 luis_solis [this message]
2004-01-10 23:00 Michael Elizabeth Chastain

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='002101c3d7c2$3c0d7cd0$41ca2951@luiscasa' \
    --to=luis_solis@terra.es \
    --cc=gdb@sources.redhat.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