home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / c / 13570 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  865 b 

  1. Path: sparky!uunet!sun-barr!olivea!spool.mu.edu!sdd.hp.com!think.com!spdcc!dirtydog.ima.isc.com!karl
  2. From: karl@ima.isc.com (Karl Heuer)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Tool for measuring size (no. of statements) of C/C++ programs
  5. Keywords: metrics, size, complexity, comparing versions
  6. Message-ID: <1992Sep11.232536.6723@ima.isc.com>
  7. Date: 11 Sep 92 23:25:36 GMT
  8. References: <1992Aug31.230930.16232@gtephx.UUCP> <1992Sep1.141255.15547@organpipe.uug.arizona.edu> <1992Sep11.200457.69784@Cookie.secapl.com>
  9. Sender: usenet@ima.isc.com (news)
  10. Organization: Interactive Systems, Cambridge, MA 02138-5302
  11. Lines: 6
  12.  
  13. In article <1992Sep11.200457.69784@Cookie.secapl.com> frank@Cookie.secapl.com (Frank Adams) writes:
  14. >>    unsigned long Statement_Count = 0 ;
  15. >>      yyparse() ; printf( "%d statements.\n", Statement_Count ) ;
  16. >Make that "%ld".
  17.  
  18. Actually, "%lu" is better.
  19.