Welcome, Guest. Please login or register.

Author Topic: GCC:C++:STL:vector  (Read 6519 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline nyteschayde

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: GCC:C++:STL:vector
« on: April 03, 2003, 07:28:06 AM »
The code compiles for me. The output is 3 2. So the values stored in the vector are not stored by reference. As for your compilation errors... try installing a new version.
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500