Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: C style multiple line comment removal

by Anonymous Monk
on Jun 08, 2012 at 08:16 UTC ( #975110=note: print w/ replies, xml ) Need Help??


in reply to C style multiple line comment removal

I was able to remove all the comment but couldn't remove the first 3 lines of the comment using the regex can you please help me

Show your code :)


Comment on Re: C style multiple line comment removal
Re^2: C style multiple line comment removal
by prassi (Acolyte) on Jun 08, 2012 at 08:29 UTC

    Code is already posted

      Would it have inconvenienced your precious typing fingers to cut and paste your code that is failing to work? When you say "Code is posted." you can't be serious, since the only Perl code posted was by ckj, and was simply an incomplete snippet presenting a partial example. The only code you posted was the C code that you wish to remove a multiline comment from.

      Post your Perl source code.


      Dave

        Here is the code re posting it

        /*This is the file which is used for the developing the code for multiple IO operation Author : Grey*/ void main() { int a, b; int d; //This is the temp copy buffer. a = 10; b = 11;//This is the temp value assigned to the variables c = a+b; d = c+1; /*I am copying this with a increment*/ }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://975110]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2014-12-20 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls