vector

Laurent Pinchart laurent.pinchart@capflow.com
Thu Aug 22 05:02:00 GMT 2002


> 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/



More information about the Cygwin mailing list