C/C++ File Parser

This is a discussion on C/C++ File Parser within the C++ Programming forums, part of the General Programming Boards category; Hi All, I am in search of a snippet that could parse a C/C++ source file and give out as ...

  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    1

    C/C++ File Parser

    Hi All,

    I am in search of a snippet that could parse a C/C++ source file and
    give out as output different information on it. For example

    1. Signature of function defined in a file.
    2. Name of Global Variables declared.
    3. Files dependencies..(#include).

    Can you help?

    thanks,
    mudassir.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,535
    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. Basic text file encoder
    By Abda92 in forum C Programming
    Replies: 15
    Last Post: 05-22-2007, 01:19 PM
  2. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  3. archive format
    By Nor in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 08-05-2003, 07:01 PM
  4. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 08:19 PM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 01:58 AM

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