User Profile

Collapse

Profile Sidebar

Collapse
michael8
michael8
Last Activity: Nov 14 '06, 12:27 PM
Joined: Nov 10 '06
Location: Egypt
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • michael8
    started a topic I managed to remove comments froma cpp file
    in C

    I managed to remove comments froma cpp file

    The problem was to write a program that reads a .cpp file containing a C++ program and produces a file with all comments stripped from the program.

    I finally got the answer.


    Here it is if someone want it as no one could do it : P



    #include <iostream>
    #include <fstream>
    #include <string>

    using namespace std;

    void remove_comments...
    See more | Go to post

  • michael8
    replied to Please someone help me out to do it
    in C
    Actually, I managed to remove all the comments written after "//"
    but the problem is in the case of ' /* '....
    See more | Go to post

    Leave a comment:


  • michael8
    started a topic Please someone help me out to do it
    in C

    Please someone help me out to do it

    How to write a program that reads a .cpp file containing a C++ program and produces a file with all comments stripped from the program.
    See more | Go to post
No activity results to display
Show More
Working...