simple que

This is a discussion on simple que within the C Programming forums, part of the General Programming Boards category; hallo i am new to c programming please explain the way the files link with each other especially when there ...

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    20

    simple que

    hallo
    i am new to c programming
    please explain the way the files link with each other especially when there are many .c files and one main.c file
    i see that only the header files are included in main.c files and not module.c files.
    how should we link the module.c files also to the main.c files ?
    regards
    khaja

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826

    Re: simple que

    Originally posted by kpmkhaja
    hallo
    i am new to c programming
    please explain the way the files link with each other especially when there are many .c files and one main.c file
    i see that only the header files are included in main.c files and not module.c files.
    how should we link the module.c files also to the main.c files ?
    regards
    khaja
    Read you compiler docs.

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Been here, done that.
    Join Date
    May 2003
    Posts
    1,161

    Re: simple que

    Originally posted by kpmkhaja i see that only the header files are included in main.c files and not module.c files.
    Don't know where you see this, but header files could/should go in all .c files.

    And do what quzah said
    Definition: Politics -- Latin, from
    poly meaning many and
    tics meaning blood sucking parasites
    -- Tom Smothers

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. creating very simple text editor using c
    By if13121 in forum C Programming
    Replies: 9
    Last Post: 10-19-2010, 06:26 PM
  2. Simple message encryption
    By Vicious in forum C++ Programming
    Replies: 10
    Last Post: 11-07-2004, 11:48 PM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 04:00 PM
  4. Simple simple program
    By Ryback in forum C++ Programming
    Replies: 10
    Last Post: 09-09-2004, 06:48 AM
  5. Need help with simple DAQ program
    By canada-paul in forum C++ Programming
    Replies: 12
    Last Post: 03-15-2002, 08:52 AM

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