M
M
mrgloom2014-08-24 13:04:53
C++ / C#
mrgloom, 2014-08-24 13:04:53

How to count the number of lines of code?

How can you quickly count the number of lines of code in .h and .cpp files?
I'm more interested in some kind of ready-made solution, maybe even through visual studio?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Ruslan Lopatin, 2014-08-24
@lorus

You can use cloc

E
Eugene, 2014-08-26
@EvgenijDv

C and C++ Code Counter

D
Don Kaban, 2014-08-25
@donkaban

wc -l `find ./ -name '*.cpp' -o -name '*.h' `
https://ru.wikipedia.org/wiki/Wc

G
globuser, 2015-01-09
@globuzer

Line line strife. I don’t know if I’m in the know or not, read about the SLOC concept in more detail, there are methods and tools, it’s curious:
en.wikipedia.org/wiki/Source_lines_of_code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question