Help!!!!!!!!

This is a discussion on Help!!!!!!!! within the C Programming forums, part of the General Programming Boards category; hi Question: Write a program to remove all the comments from a C Program file.... I'm not getting the logic ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    21

    Question Help!!!!!!!!

    hi

    Question:

    Write a program to remove all the comments from a C Program file....


    I'm not getting the logic of the program......

    thanx in advance

  2. #2
    Registered User cody's Avatar
    Join Date
    Sep 2001
    Posts
    86
    Answer:

    Think about how comments are marked in a C source file and how to filter them ...

    enjoy!
    cody
    #include "reallife.h"

Popular pages Recent additions subscribe to a feed

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