[TAG] Vectors vs. dynamic arrays

René Pfeiffer lynx at luchs.at
Sat Aug 9 01:35:11 MSD 2008


On Aug 07, 2008 at 1735 +0100, Jimmy O'Regan appeared and said:
> My C++ sucks, so I need a second opinion :)

I fully understand. http://www.chunder.com/text/stroustrup.html
:)

> We have a user who's using some oddball compiler that doesn't support
> C99 type arrays, so I'm wondering if it's ok to replace this code:
> [...]
> I'm just wondering if there's some subtle nuance I'm missing.

I got used to c++ vectors a while ago and so far I had no nasty
surprises. I think you can switch to vectors without running into
trouble.

Best,
Ren?,
who is waiting for C++0x.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.linuxgazette.net/mailman/private/tag/attachments/20080808/67bc97e1/attachment.pgp 



More information about the TAG mailing list