Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8364849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:31:37+00:00 2026-06-09T12:31:37+00:00

Possible Duplicate: What is the difference between #include <filename> and #include “filename”? I’ve hit

  • 0

Possible Duplicate:
What is the difference between #include <filename> and #include “filename”?

I’ve hit a bit of a problem in my C learning, I had a quick search of the questions on this site and couldn’t find an answer to this question. It’s probably a bit stupid, but here goes.

I’ve been following some c tutorials and throughout the book all includes have been done like this:

#include <stdio.h>
#include <string.h> etc. etc.

All of a sudden however, they’ve dropped this bomb shell:

#include <stdio.h>
#include "structSize.h"

With absolutely no explanation as to why "..." was used, I’m completely dumbfounded. Could anyone perhaps provide an explanation as to what is the difference between <...> and "..." and when to use each one.

Thanks for the help.
Regards,
Mike

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T12:31:39+00:00Added an answer on June 9, 2026 at 12:31 pm

    Typically, you use #include "..." for files in your project, and #include <...> for “system” include files.

    The difference is in how and where the preprocessor searches for the file based on the name to include. "" syntax will typically search the current file’s directory first. The actual search mechanism is compiler specific, however, so you would need to look at your C compiler’s documentation for details on what actual paths are used for each option.

    For details, see Include Syntax from GCC for one implementation’s examples.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: What is the difference between #include <filename> and #include “filename”? Difference between
Possible Duplicate: what is the difference between #include <filename> and #include “filename” Why do
Possible Duplicate: What is the difference between #include <filename> and #include “filename”? I just
Possible Duplicate: What is the difference between #include <filename> and #include “filename”? When I
Possible Duplicate: Should I include type=“text/javascript” in my SCRIPT tags? Difference between <script> tag
Possible Duplicate: What is the difference between #include <filename> and #include filename? What is
Possible Duplicate: What is the difference between using #include<filename> and #include<filename.h> in c++ I've
Possible Duplicate: Difference in SQL Between operator and “>=” & “<=” operator I see
Possible Duplicate: Difference between “@id/” and “@+id/” in Android When you create a layout
Possible Duplicate: Should I include type=“text/javascript” in my SCRIPT tags? I was writing HTML

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.