1. Engineering
  2. Computer Science
  3. create a class with member functions in c that counts...

Question: create a class with member functions in c that counts...

Question details
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 OF CODE SHOULD BE IGNORED .THIS IS THE LOC STANDARD

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
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution