Re: resolving linker errors

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



In article <e72aD2bgIHA.3780@xxxxxxxxxxxxxxxxxxxx>,
Norbert Unterberg <nunterberg@xxxxxxxxxxxxxxxxx> wrote:
Therefore, what are the practical reasons (if any) to add the
included .h files to the solution so that they are visible in
solution explorer?

Purely convenience in locating and opening them. You can remove them
from the solution, and the project would still compile.

It would still compile, but maybe not compile "enough". Putting the
header files into the solution puts them under control of the
IDE. That means they are checked out of source control when you
modify them, and the make process will monitro changes on the files
and automatically recompile all dependend source files.

Nope. Go edit <windows.h> or <vector> (just put a blank line at the
end), and hit build. Rebuild city. As above, C/C++ header files in
your DevStudio "solution" (I still gotta do the work, it's not a
solution) explorer window is a convenience, but doesn't affect actual
compilation.

Nathan Mates
--
<*> Nathan Mates - personal webpage http://www.visi.com/~nathan/
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein
.



Relevant Pages

  • Re: Directory Views in Solution Explorer
    ... > I realise I can add 'folders' to the solution explorer to ... > all header files etc. to the project, ... > want to be available in the solution explorer, ... Also, if you're adding these files to get IntelliSense on them, ...
    (microsoft.public.vc.ide_general)
  • Re: TFS Source Control, Reporting Services Project, how do multipl
    ... I needed to do a File, Source Control, Change Source ... I need to work on this web site. ... I can check files in and out from Solution explorer. ... Reports I can see the source control files Reports.rptproj, ...
    (microsoft.public.vsnet.enterprise.tools)
  • Re: How to specify the location of my private header files in Visual Studio .NET 2003?
    ... what is the purpose / meaning of the Header Files folder ... project folder in the Solution Explorer window? ... >> When double clicking on any of those header files listed in my Header ... That means the IDE ...
    (microsoft.public.vc.ide_general)
  • Directory Views in Solution Explorer
    ... I realise I can add 'folders' to the solution explorer to organise files ... contents of a given directory so you don't have to add all header files ...
    (microsoft.public.vc.ide_general)
  • Re: Add C# ClassLibrary Project to Web App Solution and Source Safe
    ... You should be able to right click on your solution in solution explorer and ... source control. ... Joe ... > We have a Web Application Solution and it added in Source Safe. ...
    (microsoft.public.vstudio.sourcesafe)