Re: Calculate percentages

From: Jean-Pierre Radley (jpr_at_jpr.com)
Date: 10/24/05


Date: 23 Oct 2005 18:10:16 -0400

Dion typed (on Sun, Oct 23, 2005 at 01:33:13PM -0700):
| I am a beginner in UNIX and I want to write a shell script calculating
| the proportion of one-line comments in any C++ program. Could anyone
| help me please? Thanks!

I daresay you haven't the least interest or purpose in knowing how many
comments in a program are one-liners.

Occam's razor tells me that your instructor has asked you to write such a
script. Does your instructor approve of your getting help from us?
Would that affect your grade?

-- 
JP


Relevant Pages

  • Re: Calculate percentages
    ... > | I am a beginner in UNIX and I want to write a shell script calculating ... Does your instructor approve of your getting help from us? ... There is a comment syntax for single lines that is valid in c++ that is not ...
    (comp.unix.sco.misc)
  • Re: Calculate percentages
    ... >>| I am a beginner in UNIX and I want to write a shell script calculating ... Does your instructor approve of your getting help from us? ... Tony Lawrence ...
    (comp.unix.sco.misc)
  • Calculate percentages
    ... I am a beginner in UNIX and I want to write a shell script calculating ... the proportion of one-line comments in any C++ program. ...
    (comp.unix.programmer)
  • Calculate percentages
    ... I am a beginner in UNIX and I want to write a shell script calculating ... the proportion of one-line comments in any C++ program. ...
    (comp.unix.shell)
  • Calculate percentages
    ... I am a beginner in UNIX and I want to write a shell script calculating ... the proportion of one-line comments in any C++ program. ...
    (comp.unix.sco.misc)