Monday, January 12, 2009

Include Directories

The include directories are of great importance, they provide the header files required for the compilation of the application. If the path specified is not valid or pointed to wrong directory, compilation can be disastrous.

As many a times if wrong header file version comes into compilation, many valid function reference may become invalid. Also some times the function reference may not be able to find the function prototype or can not find the header file itself.

Hence, whenever you face an issue where a standard header file is not found or function reference is incorrect, just make sure the include paths are correct.

Go to Tools >> Options:




Projects and Solutions >> VC++ Directories

Select "Include" from Drop-Down Box.

You will see the include paths in list box.

No comments:

Post a Comment

Disclaimer:

The above post and all the posts in the blog are derived from facts, information, logical interpretation and logical conclusion of printed and internet materials available to me, perceived and produced by 99 gm brain of mine, which by no means always be accurate, consistent and complete.

All the posts are for personal quick reference only.

If any suggestion, correction, misinterpretation, misconception commented, which will be moderated and deleted if required, to avoid unforeseen issues.

If any trademark / copywrite issue is present, do send in a mail and appropriate tag (logo, name, website link) will be attached to the same.

Additional disclaimer will be attached wherever required in the post.