KidzSearch Image Safe Search   



Header_file

In computer programming, a header file can be thought of as a dictionary a compiler uses if it comes across a word it does not understand. Mainly programming languages like C and C++ use this.

As you may know, a computer is really powerful. But it lacks the power to think and learn. As a result, a computer has to be fed each and every instruction for a task you may want done. But it is not practical to type in each and every instruction again and again for a task, especially if you tend to use it a lot. As a solution to this, header files are used. For example, consider the word "cout" which is used by C++ to display outputs on the screen. The computer, however, does not know what "cout" is. So, it checks if "cout" exists in a dictionary file (i.e. the header file) that has been mentioned by the programmer. If it finds what to do when someone says "cout", the program will be compiled properly. Otherwise, it will simply result in an error that so-and-so word has not been understood by the compiler.A HEADER FILE IN C++ CONTAINS:

  1. function definitions
  2. data type definitions
  3. macros
 view more...







   Related Content
    • header ideas
    • header rule soccer
    • header in essay
    • header in computer essay
    • header argument
    • header 900 x 400 batteries
    • header champ walkthrough
    • header for paul klee
    • header games


Not Finding Your Answer?
Post It On KidzTalk Homework Help


   Report a search problem







COMPANY RESOURCES LINKS SOCIAL
contact us education daily journal home facebook
about us make us your default search kidztalk twitter  
terms/privacy blocking websites kidznet pinterest  
advertise teacher zone wiki    
media link to us learning sites    
business / api solutions add a site image search    
affiliate program kidzsearch apps kidztube    
play youtube on kidzsearch games    
  voice search music    
  report a problem cool facts    
  settings news    
    search help    
       
         










 mobile version

      Copyright 2005-2024 KidzSearch.com