[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • Last Modified:

File Structures

Hello,

I have an application with the include files and a win.lib file in two separate folders - both were provided. I need to use another header file and I put it in the include folder and #include it in my application but it doesn't work - any ideas? Thanks!  
0
catsinboots
Asked:
catsinboots
  • 2
1 Solution
 
jkrCommented:
You need to set up the INCLUDE path to point to the directory where the .h file resides. What compiler are you using?
0
 
catsinbootsAuthor Commented:
I am using visual studio .NET - I typed #include "myfile.h" at the top of the application file but it doesn't work.
0
 
jkrCommented:
That's what I meant - go to your project settings and go to the "Preprocessor" section on the C++ tab. There's a text field labeled "Additional include directoris" where you can enter the location of your .h file.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now