header files

This is a discussion on header files within the C++ Programming forums, part of the General Programming Boards category; is header file compiled during build...

  1. #1
    Unregistered
    Guest

    Question header files

    is header file compiled during build

  2. #2
    zen
    zen is offline
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    Posts
    1,007
    No, unless you include it in a c/cpp file where the contents will be written into the c/cpp file.
    zen

  3. #3
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913

    As well as what King Zen (not being sarcastic - you're awesome) said.

    You can also adjust what is compiled with the #pragma hdrstp directive. This terminates the list of header files eligible for precompilation.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Checking array for string
    By Ayreon in forum C Programming
    Replies: 87
    Last Post: 03-09-2009, 03:25 PM
  2. #include header files or .cpp files?
    By DoctorX in forum C++ Programming
    Replies: 3
    Last Post: 12-23-2006, 11:21 AM
  3. classes and header files
    By Drake in forum C++ Programming
    Replies: 8
    Last Post: 11-30-2006, 06:12 PM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 09:33 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21