Click here to Skip to main content
12,296,023 members (58,433 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C
What is the need of "#include <windows.h>" in c ? and when it is used ?
Posted 29-Aug-12 6:48am
Edited 29-Aug-12 7:09am
enhzflep44.5K
v2

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

When you need multiple files for a program then using include allows you to establish links between them.

See the professional explanation from Microsoft here: http://msdn.microsoft.com/en-us/library/36k2cdd4(v=vs.80).aspx[^].

And more information here (possibly easier to understand with more examples): http://www.cplusplus.com/forum/articles/10627/[^].

Good luck!
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160525.2 | Last Updated 29 Aug 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100