文件名称:getcodeline
介绍说明--下载内容均来自于网络,请自行研究使用
统计一个目录下代码行数(只统计c++后缀名为.h和.cpp的文件)。使用了windows api。如果想统计其他后缀名的代码,请打开源码,自己修改在编译。
使用方法:进入想统计的目录,直接执行命令。
或者 比如你想统计 e:\c++ 下代码行数,可以不进入该目录,直接输入 getcodeline e:\c++ (getcodeline为你编译的可执行文件名字)。
可以使用管道把信息输出到一个文件中查看。如:getcodeline e:\c++ > out.txt
大家可以自由使用,修改和学习。-Statistics of a few lines of code directory (only statistics known as c++ suffix. H and. Cpp files). The use of the windows api. If you want statistics of other suffix code, open source, modify the compiler itself. Usage: enter the directory and Statistics would like to direct the implementation of the order. For example, statistics, or you want to e: \ c++ under the code number of rows, you can not access the directory directly getcodeline e: \ c++ (getcodeline for your compiled executable file name). Can use the pipeline of information output to a file in view. Such as: getcodeline e: \ c++> out.txt we can freely use, modify and study.
使用方法:进入想统计的目录,直接执行命令。
或者 比如你想统计 e:\c++ 下代码行数,可以不进入该目录,直接输入 getcodeline e:\c++ (getcodeline为你编译的可执行文件名字)。
可以使用管道把信息输出到一个文件中查看。如:getcodeline e:\c++ > out.txt
大家可以自由使用,修改和学习。-Statistics of a few lines of code directory (only statistics known as c++ suffix. H and. Cpp files). The use of the windows api. If you want statistics of other suffix code, open source, modify the compiler itself. Usage: enter the directory and Statistics would like to direct the implementation of the order. For example, statistics, or you want to e: \ c++ under the code number of rows, you can not access the directory directly getcodeline e: \ c++ (getcodeline for your compiled executable file name). Can use the pipeline of information output to a file in view. Such as: getcodeline e: \ c++> out.txt we can freely use, modify and study.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
GetCodeLineNum.cpp
GetCodeLineNum.exe
readme.txt
GetCodeLineNum.exe
readme.txt