• 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: Can't find mysql.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't find mysql.h


  • Subject: Re: Can't find mysql.h
  • From: Andy Lee <email@hidden>
  • Date: Tue, 26 Feb 2002 04:58:57 -0500

What he said.

I'd add the suggestion that you use #import rather than #include. #import ensures the compiler (preprocessor) will only try to include the file once. Not that it's likely you'd have a problem with redundant includes in this case, but you should use #import for consistency and "just in case."

--Andy

At 12:11 AM -0800 2/26/02, Sam Goldman wrote:
>I don't think you want #import "mysql.h"
>
>Instead, put:
>
>#include <mysql.h>
>
>Using quotes means it wants a file in the relative directory to your current
>file. The angle brackets mean somewhere in the build settings' search path.
>
>HTH,
>- Sam
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Can't find mysql.h
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: Can't find mysql.h (From: Sam Goldman <email@hidden>)

  • Prev by Date: how to create a bug tracker ?
  • Next by Date: Re: Document based application with that auto-new-doc behaviour
  • Previous by thread: Re: Can't find mysql.h
  • Next by thread: Re: Can't find mysql.h
  • Index(es):
    • Date
    • Thread