Re: vectors

Christiaan Hofman <[email protected]>
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
On Dec 1, 2009, at 23:23, ML wrote:

> I have code that uses a standard vector.
> 
> Historically I have done #include <vector>
> 
> it seems to me now that I am in XCode this does not work? It has to be me, obviously.
> 
> I get errors that say: ISO forbids declarations of vector with no type.
> 
> The code works under CW 8 though..
> 
> Any advice?

A VERY quick look at Google tells me that you're probably forgetting to prepend a std:: namespace. And I don't even know what you're doing!

ChristIaan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.