Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Total Lines of Code

Status
Not open for further replies.
Mar 13, 2005
32
US
Hello,

Does anyone know how I can find the total number of lines of code in a project? I have A LOT of different objects and files so it would be a pain to go through each.

Any help?

Thanks!

Rick
 
Tools -> Options. At the pane at the left goto Text Editor | All Languages and check "Line numbers".

 
My turn..
Ooops, I guess that you have already done this.
You may want to look at which is a simple example ofn counting the lines of all files recursively. One extra task that you will have to do on your own, is to create some filters; so as to count the lines of e.g. .cpp files.

Hope this helps.!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top