Hi David,

#include <something.h>
#include "somethingelse.h"

as you see, < >and " are used.

Use <> when the file you want to include is not in the same directory your
project is in AND is available thought the compilers include path
configuration.  Use " when the file you want to include is in the same
directory as your project or when you define at compile time a path where
some include files will be gotten from.

This is a very basic C/C++ question and it is likable you'll run into many
other problems, so I suggest to go to
http://www.mysql.com/portal/books/html/

and get yourself a good C/ C++ book !

Regards,
Jorge

MySQL Development Team
    __  ___     ____ __   __
   /  |/  /_ __/ __/ __ \/ /   Jorge del Conde <[EMAIL PROTECTED]>
  / /|_/ / // /\ \/ /_/ / /__  MySQL AB, http://www.mysql.com/
 /_/  /_/\_, /___/\___\_\____/ Mexico City, Mexico
        <___/

----- Original Message -----
From: "David Ayliffe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 27, 2001 9:17 AM
Subject: Simple C++ question


> Its been a while since i've last touched c++ and i'm trying to include
> two files
> stdio.h
> and mysql.h
>
> I know that to include stdio.h I enclose it in <> but mysql.h is in the
> same folder as the project I know I can't use <> but what do I use
> instead?
>
> Thanks lots
> David Ayliffe ([EMAIL PROTECTED])
>
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to