Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

code-inclusion/linking

Status
Not open for further replies.

Matibo

Programmer
Feb 25, 2004
1
US
Hi,

I'm building a set of classes that I want to be used in my applications in the same manner that I use STL classes. However, I don't want to change my compile options each time I compile, i.e. I don't want to have to link to some .obj file. I don't have to do this when I use STL classes (e.g. deque), all I have to do is the appropriate include. The command-line options for this being
Code:
/EHsc -I"c:\Program Files\Microsoft Visual Studio\VC98\Include"
Now, the DEQUE file in the Include directory isn't a standard C header file - it appears to be a source file. I am unable to find a precompiled object file or library corresponding to deque. Am I correct in assuming that, at compile time, VC++ "sources" the deque code directly? I can do this to solve my problem, but I wanted to find out if there was a preferable alternative first.

Thank you,
Matibo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top