Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

TheBlackJester

Line count in VC++ 6.0

This topic is 5752 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, I've been looking for a way to find out the line count in a vc++ project and I haven't been able to. If anyone knows how could you please let me know? Thanks


"With my feet upon the ground I lose myself between the sounds and open wide to suck it in, I feel it move across my skin. I'm reaching up and reaching out. I'm reaching for the random or what ever will bewilder me, what ever will bewilder me. And following our will and wind we may just go where no one's been. We'll ride the spiral to the end and may just go where no one's been." - Maynard James Keenan
Name: TheBlackJester Team: Wildfire Studios
Projects O A.D. The Last Alliance [edited by - TheBlackJester on January 22, 2003 10:32:44 PM]

Share this post


Link to post
Share on other sites
Advertisement
Note that I haven''t tested it, but I think the two macros
__LINE__ and __FILE__ help out. I''m not sure it''s in caps either...

Hope this ''shot in the dark'' helps.

=^.^= Leaders and teachers should remember: It is best to offer others what they Need, not what they Want.

Share this post


Link to post
Share on other sites
Yeah, I''m familiar with those but thats not quite what I''m looking for. I''m talking about the total cammulative line count of the entire program.



"With my feet upon the ground I lose myself between the sounds and open wide to suck it in, I feel it move across my skin. I''m reaching up and reaching out. I''m reaching for the random or what ever will bewilder me, what ever will bewilder me. And following our will and wind we may just go where no one''s been. We''ll ride the spiral to the end and may just go where no one''s been." - Maynard James Keenan
Name: TheBlackJester
Team: Wildfire Studios

Projects
O A.D.
The Last Alliance

Share this post


Link to post
Share on other sites
if you had alot of time on your hands, you could go through every file, right cliking, and choosing properties. This should display a box containing the line count of the current file along with some other info.

return Neff;

Share this post


Link to post
Share on other sites
if you have any significant code, then perhaps you could write a short program that would parse any .h and .cpp file in a given directory and count the lines, should be easy.

Share this post


Link to post
Share on other sites
What I think you''re looking for is the "Project Line Counter" from this website. It''s an Add-in for MSVC and it works really well.

-scott

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Download Project Line Counter from http://www.wndtabs.com -- works great, searches either the workspace or individual projects, gives a break down of code, comments, blank lines, etc.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
dang nabbit, beaten to the punch

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!