By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,727 Members | 768 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,727 IT Pros & Developers. It's quick & easy.

Count lines of code in a project

P: n/a
Is there a way to determine how many lines of code exist in a project?
Rough estimates without having to go through page by page would be fine.
Thanks in advance.

Mark
Nov 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Project Line Counter Add-In for VC6 and VS.NET

http://www.devhood.com/tools/tool_de...px?tool_id=691

"Mark" <fi******@idonotlikejunkmail.umn.edu> wrote in message
news:Oo**************@TK2MSFTNGP12.phx.gbl...
Is there a way to determine how many lines of code exist in a project?
Rough estimates without having to go through page by page would be fine.
Thanks in advance.

Mark


Nov 18 '05 #2

P: n/a
You can combine all project source files into 1 file (see copy command help)
and load it into for example in MS Word, which will calculate it for you.

HTH
Alex

"Mark" <fi******@idonotlikejunkmail.umn.edu> wrote in message
news:Oo**************@TK2MSFTNGP12.phx.gbl...
Is there a way to determine how many lines of code exist in a project?
Rough estimates without having to go through page by page would be fine.
Thanks in advance.

Mark

Nov 18 '05 #3

P: n/a
There is a sample that comes with Visual Studio.NET

C:\ProgramFiles\VS.NET\SDK\v1.1\Samples\Applicatio ns\WordCount

Open a command prompt and type WordCount.exe path\*.cs or whatever wildcard
you would like this will output everything you should need.

"Mark" <fi******@idonotlikejunkmail.umn.edu> wrote in message
news:Oo**************@TK2MSFTNGP12.phx.gbl...
Is there a way to determine how many lines of code exist in a project?
Rough estimates without having to go through page by page would be fine.
Thanks in advance.

Mark

Nov 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.