Click here to Skip to main content
15,888,816 members
Articles / Desktop Programming / MFC

Counting Lines in a MS VC++ 6.0 project

Rate me:
Please Sign up or sign in to vote.
4.33/5 (15 votes)
4 Aug 2001 152.1K   1.9K   33  
A program that counts the lines (source, comments, blank) in every file included in a MS VC++ 6.0 project
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by LineCounter.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_LINECOUNTER_DIALOG          102
#define IDR_MAINFRAME                   128
#define IDD_VIEWCODE                    131
#define ID_POPUP                        132
#define IDI_PERCENT                     133
#define ID_FILELIST                     1000
#define ID_PROJECTNAME                  1001
#define ID_PROGRESSBAR                  1002
#define ID_PROGRESS_LABEL               1003
#define ID_LINES_TOTAL                  1004
#define ID_LINES_SOURCE                 1005
#define ID_LINES_COMMENT                1006
#define ID_LINES_BLANK                  1007
#define ID_CODEVIEW                     1008
#define ID_FILE_EXIT                    32771
#define ID_FILE_SELECTPROJECT           32772
#define ID_FILE_COUNT                   32773
#define ID_SOURCE_VIEW                  32774
#define ID_CANCEL                       32775
#define ID_HELP_ABOUT                   32777

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        134
#define _APS_NEXT_COMMAND_VALUE         32778
#define _APS_NEXT_CONTROL_VALUE         1010
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions