Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CREATE A CLASS WITH MEMBER FUNCTIONS IN C++ THAT COUNTS THE LINES OF CODE OF A FILE.COMMENTS SHOULD BE IGNORED AND BLANK SPACES BETWEEN LINES
CREATE A CLASS WITH MEMBER FUNCTIONS
Assignment:Write a program to count lines of code according to your LOC Counting Standard. Notes: -Your program should accept as input the name of a file that contains source code. You are to read the file ar count the number of lines of code according to our LOC Counting Standard. You may assume that the source adheres to the LOC Coding Standard, i.e., this assignment should not determine if the coding standard has be followed Your program should produce output following the general format below. Please do not clutter your submitted results with extraneous output. 1.xls LOC is 2.xls LOC is 125 712 IN C++ THAT COUNTS THE LINES OF CODE OF A FILE.COMMENTS SHOULD BE IGNORED AND BLANK SPACES BETWEEN LINES OF CODE SHOULD BE IGNORED .THIS IS THE LOC STANDARD
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started