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 592775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:46:31+00:00 2026-05-13T15:46:31+00:00

I am fairly new to developing C/C++ code in MSVS but one of the

  • 0

I am fairly new to developing C/C++ code in MSVS but one of the things that has already confused me is why, after adding a set of source and header files to my project such that they show up respectively under the MSVS folders ‘Source Files’ and ‘Header Files’, do I subsequently have to tell the compiler where my header files are under ‘Project->properties->C/C++->General’. It seems to me that MSVS should already attempt to resolve any ‘include “…”‘ statements by first looking thru the set of header files I have included in the project.

Anybody care to comment on the logic being used here?

Thanks,
Travis

  • 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-05-13T15:46:32+00:00Added an answer on May 13, 2026 at 3:46 pm

    Actually, adding your header files in the so called “Header Files” folder is optional. Even without doing the same you can just specify the header path in “Project->Properties->….” and it will still work.

    You may be thinking from the perspective of only your project’s header files which can be added in the “Header Files” folder, what about a big project having several third party libraries, you definitely cannot go and keep adding each every header file into your folder.

    So, to keep all the includes unified at one configuration, this way should have been selected.

    All the stuff quoted above is just my understanding. I don’t have any evidence to support this. So, My apologies in advance is this is wrong. Don’t bombard me with Downvotes please. : )

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

Sidebar

Related Questions

I am developing one new area of a fairly large web application using MVC3
I'm fairly new to ASP.NET and trying to learn how things are done. I
I'm fairly new to the world of versioning but would like to introduce Subversion
I'm fairly new at programming, but I've wondered how shell text editors such as
I'm fairly new to Cocoa and Objective-C. Currently I'm developing a fairly basic application
I want to preface this question by stating that I am fairly new to
I am fairly new to silverlight. I am developing on the windows phone platform.
so i have a program i am developing and as im fairly new to
I'm fairly new to developing in Android and I'm not sure how to solve
I'm fairly new to advanced C++ program techniques such as templates, but I am

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.