|
From: <Mat...@Ve...> - 2005-07-12 23:37:02
|
Probably 32-bits of length on a 32-bit system, so 4.2 billion elements. And probably 64-bits of length on a 64-bit system, so 1.84467441e19 elements. To check for sure, try cout << vector<char>::size_type. You can download the STL manual at http://ftp.debian.org/debian/pool/main/s/stl-manual/stl-manual_3.30.orig.tar .gz . This explains these things best of all. --Matt -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Noorez Kassam Sent: Tuesday, July 12, 2005 4:28 PM To: dev...@li... Subject: [Dev-C++] size of vectors Does the vector<char> have a maximum size? ___________________________________________________________________ The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. |