Subject: Re: vector
From: Laurent Pinchart <[email-masked]>
To: [email-masked]
Cc: Dan Mergens <[email-masked]>
Date: Thu, 22 Aug 2002 10:15:27 +0200

> I'm baffled why this simple program produces the following errors.
> Strangly enough, if I remove the push_back call, it compiles without
> complaint.
[...]

> $ gcc test.C
[...]

It's a C++ program. You have to use g++. Naming your file test.cpp instead of 
test.C would be a good idea too.

Laurent Pinchart

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/