Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
CSC344 Assignment 1 CSC344 Assignment 1 (C) Write a C (or C++) program that reports the number of SLOC "logical lines of source code" for any Java program. As discussed in class, the definition of SLOC is not universally agreed upon, so you will need to document and defend the metric your program uses. Also print the number of "{...}" scopes at each level (1 for class, 2 for methods, etc). The input Java source file can be read from standard input. You can use any C library functions in your program. Doug Lea