double quotes or carrots?

This is a discussion on double quotes or carrots? within the C++ Programming forums, part of the General Programming Boards category; Is there any differance between these two statements as far as the compiler will see it? #include <iostream.h> #include "iostream.h"...

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    38

    double quotes or carrots?

    Is there any differance between these two statements as far as the compiler will see it?


    #include <iostream.h>
    #include "iostream.h"

  2. #2
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361
    Yes
    Do a search, it's been asked many times.

  3. #3
    Registered User
    Join Date
    Jan 2003
    Posts
    38
    You got any idea how much stuff pops up on a search like that?

  4. #4
    Registered User
    Join Date
    Jan 2002
    Posts
    75
    The difference is pretty simple really.
    The <>'s indicate to the compiler to look for the file in the "standard" include directory(s), which contains all the most commonly included headers. The ""'s look for the file in the local project directory first.

  5. #5
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953
    You could've searched the MSDN you can find the answer there, acctually that's where I found the answer myself.
    none...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Copying 2-d arrays
    By Holtzy in forum C++ Programming
    Replies: 11
    Last Post: 03-14-2008, 03:44 PM
  2. C++ to C Conversion
    By dicon in forum C Programming
    Replies: 7
    Last Post: 06-11-2007, 08:38 PM
  3. need some help with last part of arrays
    By Lince in forum C Programming
    Replies: 3
    Last Post: 11-18-2006, 08:13 AM
  4. newbie needs help with code
    By compudude86 in forum C Programming
    Replies: 6
    Last Post: 07-23-2006, 08:54 PM
  5. Unknown Math Issues.
    By Sir Andus in forum C++ Programming
    Replies: 1
    Last Post: 03-06-2006, 05:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21