• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Maybee a stupid question about <vector.h>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maybee a stupid question about <vector.h>


  • Subject: Re: Maybee a stupid question about <vector.h>
  • From: Ryan Wilcox <email@hidden>
  • Date: Mon, 3 May 2004 11:37:29 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 5/3/04, at 4:23 PM, Tristan said:

>xCode sends me a build  " vector.h : No such file or directory"" on
>line " #include <vector.h> "

vector.h is depreciated (ever since the standard library, IIRC). vector (and
other things in the standard library) should be #included without the .h

Example:

#include <vector>
#include <string>

I don't know why it works for string.h (maybe it caught another string.h?)

HTH,
_Ryan Wilcox

================================================================
Wilcox Development Solutions:          http://www.wilcoxd.com
Toolsmiths for the Internet Age            PGP: 0x2F4E9C31

-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.0.3

iQA/AwUBQJZnM22DtKgvTpwxEQLZewCeOsNIqz8wGpD8MDIBJazQcOy8/XMAmwS2
m7BsWvyygaTZ+rMQrji2EM5n
=NknI
-----END PGP SIGNATURE-----
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Maybee a stupid question about <vector.h> (From: Tristan <email@hidden>)

  • Prev by Date: Re: Complete GUI freezes
  • Next by Date: Re: Preferences File & storing in .app
  • Previous by thread: Re: Maybee a stupid question about <vector.h>
  • Next by thread: Re: Maybee a stupid question about <vector.h>
  • Index(es):
    • Date
    • Thread