replacing line #include "file.c" with its contents

This is a discussion on replacing line #include "file.c" with its contents within the C Programming forums, part of the General Programming Boards category; pleas help! I need a code that its input is a c code that contains a line : #include "file.c" ...

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

    Talking replacing line #include "file.c" with its contents

    pleas help!
    I need a code that its input is a c code that contains a line :
    #include "file.c" .
    its output is the contents of the file "file.c".
    thank you very much.

  2. #2
    King of the Internet Fahrenheit's Avatar
    Join Date
    Oct 2001
    Posts
    128
    You're welcome

  3. #3
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,485
    Xposted on another board
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. limits.h problem!!
    By guitarist809 in forum C++ Programming
    Replies: 21
    Last Post: 04-13-2006, 10:28 PM
  2. Multiple include problem
    By VirtualAce in forum Game Programming
    Replies: 13
    Last Post: 02-04-2006, 05:09 PM
  3. to #include or not to #include
    By krygen in forum C++ Programming
    Replies: 9
    Last Post: 12-24-2004, 11:06 PM
  4. Could somebody please help me with this C program
    By brett73 in forum C Programming
    Replies: 6
    Last Post: 11-25-2004, 01:19 AM
  5. Validating the contents of a char buffer
    By mattz in forum C Programming
    Replies: 3
    Last Post: 12-09-2001, 05:21 PM

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