Answers for "how to count lines in text file using c++"

0

count number of lines files .cpp .h

# Show count sum
find . -type f ( -name *.cpp -o -name *.h ) ! -name pugixml.cpp -exec cat {} + | wc -l
# Show count sum and stats for each file
find . -type f ( -name *.cpp -o -name *.h ) ! -name pugixml.cpp -exec wc -l {} +
Posted by: Guest on January-09-2021

Code answers related to "how to count lines in text file using c++"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language